mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 21:33:03 +03:00
git: fixed impure path to perl in git-am and git-submodule
svn path=/nixpkgs/trunk/; revision=27859
This commit is contained in:
parent
62eab9e44a
commit
efe5ab73b1
@ -53,6 +53,12 @@ stdenv.mkDerivation rec {
|
||||
substituteInPlace $out/libexec/git-core/git-sh-setup \
|
||||
--replace ' grep' ' ${gnugrep}/bin/grep' \
|
||||
--replace ' egrep' ' ${gnugrep}/bin/egrep'
|
||||
|
||||
# Fix references to the perl binary. Note that the tab character
|
||||
# in the patterns is important.
|
||||
sed -i -e 's| perl -ne| ${perl}/bin/perl -ne|g' \
|
||||
-e 's| perl -e| ${perl}/bin/perl -e|g' \
|
||||
$out/libexec/git-core/{git-am,git-submodule}
|
||||
''
|
||||
|
||||
+ (if svnSupport then
|
||||
|
Loading…
Reference in New Issue
Block a user