glib: Fix path to gettext_dir in glib-gettextize

Otherwise e.g. epiphany doesn't build.
This commit is contained in:
Tuomas Tynkkynen 2015-10-30 01:48:54 +02:00 committed by Luca Bruno
parent a412927924
commit cab1cb5af4

View File

@ -85,6 +85,7 @@ stdenv.mkDerivation rec {
postInstall = ''
_moveToOutput "share/glib-2.0" "$dev"
substituteInPlace "$dev/bin/gdbus-codegen" --replace "$out" "$dev"
sed -i "$dev/bin/glib-gettextize" -e "s|^gettext_dir=.*|gettext_dir=$dev/share/glib-2.0/gettext|"
'';
inherit doCheck;