gcc8: s/hostPlatform/stdenv/

This commit is contained in:
Patrick Hilhorst 2018-05-15 15:39:16 +02:00
parent 87fd200b9a
commit 7feb762344
No known key found for this signature in database
GPG key ID: 589BB0A8DAFEF2B2

View file

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