buildPerlPackage: remove postFixup
It has no effect since system-wide $PERL5LIB removed more than an year ago
This commit is contained in:
parent
396190acb1
commit
9e60fefc34
1 changed files with 0 additions and 11 deletions
|
@ -25,17 +25,6 @@ preConfigure() {
|
|||
perl Makefile.PL PREFIX=$out INSTALLDIRS=site $makeMakerFlags PERL=$(type -P perl) FULLPERL=\"$fullperl/bin/perl\"
|
||||
}
|
||||
|
||||
|
||||
postFixup() {
|
||||
# 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
|
||||
fi
|
||||
}
|
||||
|
||||
if test -n "$perlPreHook"; then
|
||||
eval "$perlPreHook"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue