mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-13 21:32:23 +03:00
Merge pull request #15113 from rardiol/gitSVN
git: fix subversion bindings for multiple outputs
This commit is contained in:
commit
6cf44fed13
@ -112,12 +112,12 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
''# wrap git-svn
|
''# wrap git-svn
|
||||||
gitperllib=$out/lib/perl5/site_perl
|
gitperllib=$out/lib/perl5/site_perl
|
||||||
for i in ${builtins.toString perlLibs} ${svn}; do
|
for i in ${builtins.toString perlLibs} ${svn.out}; do
|
||||||
gitperllib=$gitperllib:$i/lib/perl5/site_perl
|
gitperllib=$gitperllib:$i/lib/perl5/site_perl
|
||||||
done
|
done
|
||||||
wrapProgram $out/libexec/git-core/git-svn \
|
wrapProgram $out/libexec/git-core/git-svn \
|
||||||
--set GITPERLLIB "$gitperllib" \
|
--set GITPERLLIB "$gitperllib" \
|
||||||
--prefix PATH : "${svn}/bin" ''
|
--prefix PATH : "${svn.out}/bin" ''
|
||||||
else '' # replace git-svn by notification script
|
else '' # replace git-svn by notification script
|
||||||
notSupported $out/libexec/git-core/git-svn
|
notSupported $out/libexec/git-core/git-svn
|
||||||
'')
|
'')
|
||||||
|
Loading…
Reference in New Issue
Block a user