about summary refs log tree commit diff
path: root/pkgs/development/compilers/gcc/all.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/compilers/gcc/all.nix')
-rw-r--r--pkgs/development/compilers/gcc/all.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/compilers/gcc/all.nix b/pkgs/development/compilers/gcc/all.nix
index 232241989b9a..5d5abb82c3eb 100644
--- a/pkgs/development/compilers/gcc/all.nix
+++ b/pkgs/development/compilers/gcc/all.nix
@@ -24,7 +24,7 @@ let
         profiledCompiler = false;
         libcCross = if stdenv.targetPlatform != stdenv.buildPlatform then args.libcCross else null;
         threadsCross = if stdenv.targetPlatform != stdenv.buildPlatform then threadsCross else { };
-        isl = if       stdenv.isDarwin then null
+        isl = if       stdenv.hostPlatform.isDarwin then null
               else if    atLeast "9"   then isl_0_20
               else    /* atLeast "7" */     isl_0_17;
       } // lib.optionalAttrs (!(atLeast "9")) {