1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00

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;