diff options
Diffstat (limited to 'pkgs/development/tools/misc/sqitch')
-rw-r--r-- | pkgs/development/tools/misc/sqitch/default.nix | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/pkgs/development/tools/misc/sqitch/default.nix b/pkgs/development/tools/misc/sqitch/default.nix index bef21abc0f07a..c4c8e065bc555 100644 --- a/pkgs/development/tools/misc/sqitch/default.nix +++ b/pkgs/development/tools/misc/sqitch/default.nix @@ -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 )" ''; } |