3
0
Fork 0
forked from mirrors/nixpkgs

Fix gcc.override (required by stdenv adapters like useGoldLinker)

This commit is contained in:
Eelco Dolstra 2014-10-03 15:19:29 +02:00
parent e48e994a12
commit a1bb914f71

View file

@ -234,7 +234,7 @@ rec {
# other purposes (binutils and top-level pkgs) too.
inherit (stage3.pkgs) gettext gnum4 gmp perl glibc zlib linuxHeaders;
gcc = import ../../build-support/gcc-wrapper {
gcc = lib.makeOverridable (import ../../build-support/gcc-wrapper) {
nativeTools = false;
nativeLibc = false;
gcc = stage4.stdenv.gcc.gcc;