about summary refs log tree commit diff
path: root/pkgs/development/interpreters/perl
diff options
context:
space:
mode:
authorWilliam A. Kennington III <william@wkennington.com>2015-06-13 10:28:42 -0700
committerWilliam A. Kennington III <william@wkennington.com>2015-06-13 10:29:12 -0700
commit354e5af036826e89732399929a3d53e4a69642f7 (patch)
tree90e29095951ee897845bf92acd373ef6cc1d9e85 /pkgs/development/interpreters/perl
parent8c2a8661ebecea0fdf007428de1bed32cfd00bb9 (diff)
downloadnixlib-354e5af036826e89732399929a3d53e4a69642f7.tar
nixlib-354e5af036826e89732399929a3d53e4a69642f7.tar.gz
nixlib-354e5af036826e89732399929a3d53e4a69642f7.tar.bz2
nixlib-354e5af036826e89732399929a3d53e4a69642f7.tar.lz
nixlib-354e5af036826e89732399929a3d53e4a69642f7.tar.xz
nixlib-354e5af036826e89732399929a3d53e4a69642f7.tar.zst
nixlib-354e5af036826e89732399929a3d53e4a69642f7.zip
Revert "perl: Don't use builtin zlib and bzip2"
This reverts commit 86f9f5d128306a37649cf13a687b231df18a03ca.
Diffstat (limited to 'pkgs/development/interpreters/perl')
-rw-r--r--pkgs/development/interpreters/perl/5.20/default.nix9
-rw-r--r--pkgs/development/interpreters/perl/5.22/default.nix7
2 files changed, 3 insertions, 13 deletions
diff --git a/pkgs/development/interpreters/perl/5.20/default.nix b/pkgs/development/interpreters/perl/5.20/default.nix
index 700616dd4ebf..7651bc15f469 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, bzip2, zlib, enableThreading ? stdenv ? glibc }:
+{ stdenv, fetchurl, enableThreading ? stdenv ? glibc }:
 
 # We can only compile perl with threading on platforms where we have a
 # real glibc in the stdenv.
@@ -35,12 +35,7 @@ stdenv.mkDerivation rec {
       ./perl-5.20.2-gcc5_fixes-1.patch
     ]
     ++ optional stdenv.isSunOS ./ld-shared.patch
-    ++ stdenv.lib.optional stdenv.isDarwin [ ./cpp-precomp.patch ./no-libutil.patch ];
-
-  buildInputs = [ zlib bzip2 ];
-
-  BUILD_ZLIB = "false";
-  BUILD_BZIP2 = "0";
+    ++ stdenv.lib.optional stdenv.isDarwin [ ./cpp-precomp.patch ./no-libutil.patch ] ;
 
   # Build a thread-safe Perl with a dynamic libperls.o.  We need the
   # "installstyle" option to ensure that modules are put under
diff --git a/pkgs/development/interpreters/perl/5.22/default.nix b/pkgs/development/interpreters/perl/5.22/default.nix
index b7aad858ccfb..f9068de1c2cf 100644
--- a/pkgs/development/interpreters/perl/5.22/default.nix
+++ b/pkgs/development/interpreters/perl/5.22/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, bzip2, zlib, enableThreading ? stdenv ? glibc }:
+{ stdenv, fetchurl, enableThreading ? stdenv ? glibc }:
 
 # We can only compile perl with threading on platforms where we have a
 # real glibc in the stdenv.
@@ -35,11 +35,6 @@ stdenv.mkDerivation rec {
     ++ optional stdenv.isSunOS ./ld-shared.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
   # $out/lib/perl5 - this is the general default, but because $out