gcc: reset default to gcc7 on darwin

This commit is contained in:
Patrick Hilhorst 2018-05-14 21:27:56 +02:00
parent 116cce8b5f
commit 836404df95
No known key found for this signature in database
GPG Key ID: 589BB0A8DAFEF2B2

View File

@ -6072,7 +6072,8 @@ with pkgs;
gerbil-unstable = callPackage ../development/compilers/gerbil/unstable.nix { };
gccFun = callPackage ../development/compilers/gcc/7;
gcc = gcc8;
# Temporary solution until #40038 is fixed
gcc = if hostPlatform.isDarwin then gcc7 else gcc8;
gcc-unwrapped = gcc.cc;
gccStdenv = if stdenv.cc.isGNU then stdenv else stdenv.override {