Cosmetic fix in pkgs/stdenv/linux/default.nix

Keep the rule that every stage only refers to the previous stage
for clarity.

This commit doesn't change derivation or output hashes.
This commit is contained in:
Gergely Risko 2014-09-11 00:38:12 +02:00
parent f2c5125e82
commit 18592c78fc
1 changed files with 2 additions and 2 deletions

View File

@ -192,7 +192,7 @@ rec {
name = "bootstrap-gcc-wrapper"; name = "bootstrap-gcc-wrapper";
}; };
overrides = pkgs: { overrides = pkgs: {
inherit (stage2.pkgs) binutils glibc perl; inherit (stage2.pkgs) binutils glibc perl patchelf;
# Link GCC statically against GMP etc. This makes sense because # Link GCC statically against GMP etc. This makes sense because
# these builds of the libraries are only used by GCC, so it # these builds of the libraries are only used by GCC, so it
# reduces the size of the stdenv closure. # reduces the size of the stdenv closure.
@ -220,7 +220,7 @@ rec {
coreutils = bootstrapTools; coreutils = bootstrapTools;
name = ""; name = "";
}; };
extraPath = [ stage2.pkgs.patchelf stage3.pkgs.xz ]; extraPath = [ stage3.pkgs.patchelf stage3.pkgs.xz ];
overrides = pkgs: { overrides = pkgs: {
inherit (stage3.pkgs) gettext gnum4 gmp perl glibc; inherit (stage3.pkgs) gettext gnum4 gmp perl glibc;
}; };