about summary refs log tree commit diff
path: root/pkgs/development/interpreters/icon-lang/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/interpreters/icon-lang/default.nix')
-rw-r--r--pkgs/development/interpreters/icon-lang/default.nix10
1 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/development/interpreters/icon-lang/default.nix b/pkgs/development/interpreters/icon-lang/default.nix
index e5c486ed8de2..2ea8a20d4f6c 100644
--- a/pkgs/development/interpreters/icon-lang/default.nix
+++ b/pkgs/development/interpreters/icon-lang/default.nix
@@ -21,11 +21,11 @@ stdenv.mkDerivation rec {
     let
       target = if withGraphics then "X-Configure" else "Configure";
       platform =
-        if stdenv.isLinux then "linux"
-        else if stdenv.isDarwin then "macintosh"
-        else if stdenv.isBSD then "bsd"
-        else if stdenv.isCygwin then "cygwin"
-        else if stdenv.isSunOS then "solaris"
+        if stdenv.hostPlatform.isLinux then "linux"
+        else if stdenv.hostPlatform.isDarwin then "macintosh"
+        else if stdenv.hostPlatform.isBSD then "bsd"
+        else if stdenv.hostPlatform.isCygwin then "cygwin"
+        else if stdenv.hostPlatform.isSunOS then "solaris"
         else throw "unsupported system";
     in
     "make ${target} name=${platform}";