diff options
author | William A. Kennington III <william@wkennington.com> | 2015-06-12 13:53:53 -0700 |
---|---|---|
committer | William A. Kennington III <william@wkennington.com> | 2015-06-12 13:53:53 -0700 |
commit | 86f9f5d128306a37649cf13a687b231df18a03ca (patch) | |
tree | abe4bc6cd1b78cd852e498986b8c3b3435d45649 /pkgs/development/interpreters/perl | |
parent | 954801a9a8251580ed9e867cae83e5b573784e40 (diff) | |
download | nixlib-86f9f5d128306a37649cf13a687b231df18a03ca.tar nixlib-86f9f5d128306a37649cf13a687b231df18a03ca.tar.gz nixlib-86f9f5d128306a37649cf13a687b231df18a03ca.tar.bz2 nixlib-86f9f5d128306a37649cf13a687b231df18a03ca.tar.lz nixlib-86f9f5d128306a37649cf13a687b231df18a03ca.tar.xz nixlib-86f9f5d128306a37649cf13a687b231df18a03ca.tar.zst nixlib-86f9f5d128306a37649cf13a687b231df18a03ca.zip |
perl: Don't use builtin zlib and bzip2
Diffstat (limited to 'pkgs/development/interpreters/perl')
-rw-r--r-- | pkgs/development/interpreters/perl/5.20/default.nix | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/pkgs/development/interpreters/perl/5.20/default.nix b/pkgs/development/interpreters/perl/5.20/default.nix index 0ad955d03630..053f9730f45d 100644 --- a/pkgs/development/interpreters/perl/5.20/default.nix +++ b/pkgs/development/interpreters/perl/5.20/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, enableThreading ? stdenv ? glibc }: +{ stdenv, fetchurl, bzip2, zlib, enableThreading ? stdenv ? glibc }: # We can only compile perl with threading on platforms where we have a # real glibc in the stdenv. @@ -33,7 +33,12 @@ stdenv.mkDerivation rec { ./no-sys-dirs.patch ] ++ optional stdenv.isSunOS ./ld-shared.patch - ++ stdenv.lib.optional stdenv.isDarwin [ ./cpp-precomp.patch ./no-libutil.patch ] ; + ++ stdenv.lib.optional stdenv.isDarwin [ ./cpp-precomp.patch ./no-libutil.patch ]; + + buildInputs = [ zlib bzip2 ]; + + BUILD_ZLIB = "false"; + BUILD_BZIP2 = "0"; # Build a thread-safe Perl with a dynamic libperls.o. We need the # "installstyle" option to ensure that modules are put under |