forked from mirrors/nixpkgs
glib: Fix path to gettext_dir in glib-gettextize
Otherwise e.g. epiphany doesn't build.
This commit is contained in:
parent
a412927924
commit
cab1cb5af4
1 changed files with 1 additions and 0 deletions
|
@ -85,6 +85,7 @@ stdenv.mkDerivation rec {
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
_moveToOutput "share/glib-2.0" "$dev"
|
_moveToOutput "share/glib-2.0" "$dev"
|
||||||
substituteInPlace "$dev/bin/gdbus-codegen" --replace "$out" "$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;
|
inherit doCheck;
|
||||||
|
|
Loading…
Add table
Reference in a new issue