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.nix12
1 files changed, 6 insertions, 6 deletions
diff --git a/pkgs/development/interpreters/icon-lang/default.nix b/pkgs/development/interpreters/icon-lang/default.nix
index e6afedb5b31c8..2ea8a20d4f6c3 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}";
@@ -39,7 +39,7 @@ stdenv.mkDerivation rec {
 
   meta = with lib; {
     description = "Very high level general-purpose programming language";
-    maintainers = with maintainers; [ vrthra yurrriq ];
+    maintainers = with maintainers; [ yurrriq ];
     platforms = with platforms; linux ++ darwin ++ freebsd ++ netbsd ++ openbsd ++ cygwin ++ illumos;
     license = licenses.publicDomain;
     homepage = "https://www.cs.arizona.edu/icon/";