linux stdenv bootstrap: avoid building grep twice

It's perfectly enough when we use the bootstrapped grep everywhere
except the one put into the final stdenv and final pkgs.
This commit is contained in:
Vladimír Čunát 2016-01-25 09:55:00 +01:00
parent 8f48a9756b
commit 98c7e70a3f

View File

@ -231,7 +231,8 @@ rec {
# Construct a fourth stdenv that uses the new GCC. But coreutils is
# still from the bootstrap tools.
stage4 = stageFun {
inherit (stage3.pkgs) gccPlain glibc binutils gnugrep;
inherit (stage3.pkgs) gccPlain glibc binutils;
gnugrep = bootstrapTools;
coreutils = bootstrapTools;
name = "";