* Symlink propagated-user-env-packages to
propagated-build-native-inputs rather than propagated-build-inputs. svn path=/nixpkgs/trunk/; revision=19878
This commit is contained in:
parent
b0376d16a2
commit
6478e92556
1 changed files with 4 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue