summary refs log tree commit diff
path: root/pkgs/stdenv/linux
diff options
context:
space:
mode:
authorJan Malakhovski <oxij@oxij.org>2018-08-12 10:51:56 +0000
committerJan Malakhovski <oxij@oxij.org>2018-08-12 11:47:18 +0000
commit1acbc939c57138f036472b88508b1394b486b86e (patch)
tree16dd4b28e5d72972b05b3ec6b27cc365e008bb8f /pkgs/stdenv/linux
parent98df4f635136e63644cb0ab646b55d60cbb444a4 (diff)
downloadnixpkgs-1acbc939c57138f036472b88508b1394b486b86e.tar
nixpkgs-1acbc939c57138f036472b88508b1394b486b86e.tar.gz
nixpkgs-1acbc939c57138f036472b88508b1394b486b86e.tar.bz2
nixpkgs-1acbc939c57138f036472b88508b1394b486b86e.tar.lz
nixpkgs-1acbc939c57138f036472b88508b1394b486b86e.tar.xz
nixpkgs-1acbc939c57138f036472b88508b1394b486b86e.tar.zst
nixpkgs-1acbc939c57138f036472b88508b1394b486b86e.zip
stdenv: linux: inherit texinfo in stage4 instead of the final stdenv
This reverts commit a809fdc8e1b0c1d49d40815d9bac0de27ddab5f1 and then
achieves the same result (not rebuilding texinfo three times)
but without dragging bootstrap tools into the closure.
Diffstat (limited to 'pkgs/stdenv/linux')
-rw-r--r--pkgs/stdenv/linux/default.nix5
1 files changed, 2 insertions, 3 deletions
diff --git a/pkgs/stdenv/linux/default.nix b/pkgs/stdenv/linux/default.nix
index ef46bdeb213..bd0be1c9f9d 100644
--- a/pkgs/stdenv/linux/default.nix
+++ b/pkgs/stdenv/linux/default.nix
@@ -263,7 +263,7 @@ in
       # 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 (prevStage) gettext gnum4 bison gmp perl zlib linuxHeaders;
+      inherit (prevStage) gettext gnum4 bison gmp perl texinfo zlib linuxHeaders;
       ${localSystem.libc} = getLibc prevStage;
       binutils = super.binutils.override {
         # Don't use stdenv's shell but our own
@@ -344,7 +344,6 @@ in
         concatMap (p: [ (getBin p) (getLib p) ])
           [ gzip bzip2 xz bash binutils.bintools coreutils diffutils findutils
             gawk gnumake gnused gnutar gnugrep gnupatch patchelf ed paxctl
-            texinfo
           ]
         # Library dependencies
         ++ map getLib (
@@ -363,7 +362,7 @@ in
         inherit (prevStage)
           gzip bzip2 xz bash coreutils diffutils findutils gawk
           gnumake gnused gnutar gnugrep gnupatch patchelf
-          attr acl paxctl zlib pcre texinfo;
+          attr acl paxctl zlib pcre;
         ${localSystem.libc} = getLibc prevStage;
       } // lib.optionalAttrs (super.targetPlatform == localSystem) {
         # Need to get rid of these when cross-compiling.