Remove unnecessary propagatedBuildInputs line

This commit is contained in:
Robin Bate Boerop 2015-03-17 09:46:52 -03:00
parent d73e5d6fbc
commit 566cd9ba19

@ -2,7 +2,6 @@
stdenv.mkDerivation rec {
name = "sqitch-0.999";
buildInputs = [ makeWrapper ];
propagatedNativeBuildInputs = [ sqitchModule ];
builder = writeScript (name + "-builder.sh") ''
. ${stdenv}/setup
mkdir -p $out/bin
@ -12,12 +11,10 @@ stdenv.mkDerivation rec {
fixupPhase
wrapProgram $out/bin/sqitch \
--prefix PERL5LIB : \
"$(for i in "$propagatedNativeBuildInputs" ; do
for j in $(cat $i/nix-support/propagated-native-build-inputs) ; do
echo -n "$j"/lib/perl5/site_perl:
done
"$(for i in $(cat ${sqitchModule}/nix-support/propagated-native-build-inputs) ; do
echo -n "$i"/lib/perl5/site_perl:
done
echo "$propagatedNativeBuildInputs"/lib/perl5/site_perl
echo ${sqitchModule}/lib/perl5/site_perl
)"
'';
}