diff options
Diffstat (limited to 'pkgs/development/libraries/gettext/default.nix')
-rw-r--r-- | pkgs/development/libraries/gettext/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/development/libraries/gettext/default.nix b/pkgs/development/libraries/gettext/default.nix index 566263c15ed..ff7e9bc5bfd 100644 --- a/pkgs/development/libraries/gettext/default.nix +++ b/pkgs/development/libraries/gettext/default.nix @@ -7,6 +7,7 @@ stdenv.mkDerivation (rec { url = "mirror://gnu/gettext/${name}.tar.gz"; sha256 = "0pb9vp4ifymvdmc31ks3xxcnfqgzj8shll39czmk8c1splclqjzd"; }; + patches = [ ./absolute-paths.diff ]; outputs = [ "out" "doc" ]; @@ -30,7 +31,8 @@ stdenv.mkDerivation (rec { "gt_cv_func_CFLocaleCopyCurrent=no" ]); - patchPhase = '' + postPatch = '' + substituteAllInPlace gettext-runtime/src/gettext.sh.in substituteInPlace gettext-tools/projects/KDE/trigger --replace "/bin/pwd" pwd substituteInPlace gettext-tools/projects/GNOME/trigger --replace "/bin/pwd" pwd substituteInPlace gettext-tools/src/project-id --replace "/bin/pwd" pwd |