gcc: use gcc7 for darwin

This was present in the gcc-8 branch but got removed in the merge.
This commit is contained in:
Frederik Rietdijk 2019-09-08 22:12:26 +02:00 committed by Frederik Rietdijk
parent ee1b8e4c7b
commit 5c2c505a2f

View File

@ -7507,7 +7507,7 @@ in
gerbil-unstable = callPackage ../development/compilers/gerbil/unstable.nix { stdenv = gccStdenv; };
gccFun = callPackage ../development/compilers/gcc/8;
gcc = gcc8;
gcc = if stdenv.isDarwin then gcc7 else gcc8;
gcc-unwrapped = gcc.cc;
gccStdenv = if stdenv.cc.isGNU then stdenv else stdenv.override {