From 6478e925568ca6c78b8be0528c9e4a39b5c5d216 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 9 Feb 2010 10:42:36 +0000 Subject: [PATCH] * Symlink propagated-user-env-packages to propagated-build-native-inputs rather than propagated-build-inputs. svn path=/nixpkgs/trunk/; revision=19878 --- pkgs/development/perl-modules/generic/builder.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/development/perl-modules/generic/builder.sh b/pkgs/development/perl-modules/generic/builder.sh index 4285623d1c89..08554be3537d 100644 --- a/pkgs/development/perl-modules/generic/builder.sh +++ b/pkgs/development/perl-modules/generic/builder.sh @@ -29,12 +29,14 @@ preConfigure() { } postFixup() { + echo FIXUP + # If a user installs a Perl package, she probably also wants its # dependencies in the user environment (since Perl modules don't # have something like an RPATH, so the only way to find the # dependencies is to have them in the PERL5LIB variable). - if test -e $out/nix-support/propagated-build-inputs; then - ln -s $out/nix-support/propagated-build-inputs $out/nix-support/propagated-user-env-packages + if test -e $out/nix-support/propagated-build-native-inputs; then + ln -s $out/nix-support/propagated-build-native-inputs $out/nix-support/propagated-user-env-packages fi }