From 18592c78fc21bddcb2a82e0a70de843d8ada9f1a Mon Sep 17 00:00:00 2001 From: Gergely Risko Date: Thu, 11 Sep 2014 00:38:12 +0200 Subject: [PATCH] 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. --- pkgs/stdenv/linux/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/stdenv/linux/default.nix b/pkgs/stdenv/linux/default.nix index e9de4abd7fa..8caadec3891 100644 --- a/pkgs/stdenv/linux/default.nix +++ b/pkgs/stdenv/linux/default.nix @@ -192,7 +192,7 @@ rec { name = "bootstrap-gcc-wrapper"; }; 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 # these builds of the libraries are only used by GCC, so it # reduces the size of the stdenv closure. @@ -220,7 +220,7 @@ rec { coreutils = bootstrapTools; name = ""; }; - extraPath = [ stage2.pkgs.patchelf stage3.pkgs.xz ]; + extraPath = [ stage3.pkgs.patchelf stage3.pkgs.xz ]; overrides = pkgs: { inherit (stage3.pkgs) gettext gnum4 gmp perl glibc; };