git: fix subversion bindings for multiple outputs

This commit is contained in:
Ricardo Ardissone 2016-04-30 13:19:14 -03:00
parent 268ae334d9
commit e5a9d64787

View file

@ -111,12 +111,12 @@ stdenv.mkDerivation {
''# wrap git-svn
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
done
wrapProgram $out/libexec/git-core/git-svn \
--set GITPERLLIB "$gitperllib" \
--prefix PATH : "${svn}/bin" ''
--prefix PATH : "${svn.out}/bin" ''
else '' # replace git-svn by notification script
notSupported $out/libexec/git-core/git-svn
'')