diff options
author | Gergely Risko <errge@nilcons.com> | 2014-09-11 01:10:49 +0200 |
---|---|---|
committer | Gergely Risko <errge@nilcons.com> | 2014-09-14 19:37:51 +0200 |
commit | 0a3d811e423aae5cb8935b14d5472b513530de98 (patch) | |
tree | 1df59acf8303957f5743526657db663bb6602364 /pkgs/stdenv/linux | |
parent | 4ac4af08f29ff4ba1b62de190d871ec9d402f51f (diff) | |
download | nixlib-0a3d811e423aae5cb8935b14d5472b513530de98.tar nixlib-0a3d811e423aae5cb8935b14d5472b513530de98.tar.gz nixlib-0a3d811e423aae5cb8935b14d5472b513530de98.tar.bz2 nixlib-0a3d811e423aae5cb8935b14d5472b513530de98.tar.lz nixlib-0a3d811e423aae5cb8935b14d5472b513530de98.tar.xz nixlib-0a3d811e423aae5cb8935b14d5472b513530de98.tar.zst nixlib-0a3d811e423aae5cb8935b14d5472b513530de98.zip |
Fix zlib handling in stdenvLinux
Previously stdenv depended on two different zlibs and there was a third one in the top-level package set for other purposes. This commit merges all this zlibs to one. Actually this have been committed once as 1f2b636, but then got lost while resolving merge conflicts. Hopefully it survives this time.
Diffstat (limited to 'pkgs/stdenv/linux')
-rw-r--r-- | pkgs/stdenv/linux/default.nix | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/pkgs/stdenv/linux/default.nix b/pkgs/stdenv/linux/default.nix index d97c613be7b3..10ae46c23fba 100644 --- a/pkgs/stdenv/linux/default.nix +++ b/pkgs/stdenv/linux/default.nix @@ -221,7 +221,11 @@ rec { name = ""; }; overrides = pkgs: { - inherit (stage3.pkgs) gettext gnum4 gmp perl glibc; + # Zlib has to be inherited and not rebuilt in this stage, + # because gcc (since JAR support) already depends on zlib, and + # then if we already have a zlib we want to use that for the + # other purposes (binutils and top-level pkgs) too. + inherit (stage3.pkgs) gettext gnum4 gmp perl glibc zlib; }; extraBuildInputs = [ stage3.pkgs.patchelf stage3.pkgs.xz ]; }; @@ -272,7 +276,7 @@ rec { inherit (stage4.pkgs) gzip bzip2 xz bash binutils coreutils diffutils findutils gawk glibc gnumake gnused gnutar gnugrep gnupatch patchelf - attr acl paxctl; + attr acl paxctl zlib; }; }; |