diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2009-02-12 20:18:13 +0000 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2009-02-12 20:18:13 +0000 |
commit | 0c3abad795ae96653757e9d41fbd3f1ef96c82cc (patch) | |
tree | 24665502a02fcf61b7632f5a5c3e5d203af1cc4f /pkgs/development/perl-modules/generic | |
parent | be986c5f9716dbb07b32b7e3b714d9969ffa1879 (diff) | |
download | nixlib-0c3abad795ae96653757e9d41fbd3f1ef96c82cc.tar nixlib-0c3abad795ae96653757e9d41fbd3f1ef96c82cc.tar.gz nixlib-0c3abad795ae96653757e9d41fbd3f1ef96c82cc.tar.bz2 nixlib-0c3abad795ae96653757e9d41fbd3f1ef96c82cc.tar.lz nixlib-0c3abad795ae96653757e9d41fbd3f1ef96c82cc.tar.xz nixlib-0c3abad795ae96653757e9d41fbd3f1ef96c82cc.tar.zst nixlib-0c3abad795ae96653757e9d41fbd3f1ef96c82cc.zip |
* Latest Compress::Zlib.
* Put the fix for Perl modules that install in the wrong location ($out/lib instead of $out/lib/site_perl) in the generic Perl builder. svn path=/nixpkgs/trunk/; revision=14051
Diffstat (limited to 'pkgs/development/perl-modules/generic')
-rw-r--r-- | pkgs/development/perl-modules/generic/builder.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/pkgs/development/perl-modules/generic/builder.sh b/pkgs/development/perl-modules/generic/builder.sh index 6ac5dc5f91b6..f32a0bee2493 100644 --- a/pkgs/development/perl-modules/generic/builder.sh +++ b/pkgs/development/perl-modules/generic/builder.sh @@ -38,6 +38,15 @@ postFixup() { 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 + + # Some (broken?) packages install in $out/lib/${perlVersion} + # instead of $out/lib/site_perl/${perlVersion}. Try to fix that + # automatically. + if ! test -e $out/lib/site_perl; then + echo "fixing wrong Perl installation path..." + ensureDir $out/lib/site_perl + mv $out/lib/5.* $out/lib/site_perl + fi } if test -n "$perlPreHook"; then |