3
0
Fork 0
forked from mirrors/nixpkgs

git: fix references to gettext in bash scripts

See #13047
This commit is contained in:
zimbatm 2016-02-16 21:01:21 +00:00
parent 97bbc37b6f
commit c38eb526d5

View file

@ -85,6 +85,10 @@ stdenv.mkDerivation {
-e 's| perl -e| ${perl}/bin/perl -e|g' \
$out/libexec/git-core/{git-am,git-submodule}
# Fix references to gettext.
substituteInPlace $out/libexec/git-core/git-sh-i18n \
--replace 'gettext.sh' '${gettext}/bin/gettext.sh'
# gzip (and optionally bzip2, xz, zip) are runtime dependencies for
# gitweb.cgi, need to patch so that it's found
sed -i -e "s|'compressor' => \['gzip'|'compressor' => ['${gzip}/bin/gzip'|" \