about summary refs log tree commit diff
path: root/pkgs/development/interpreters/kerf/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/interpreters/kerf/default.nix')
-rw-r--r--pkgs/development/interpreters/kerf/default.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/development/interpreters/kerf/default.nix b/pkgs/development/interpreters/kerf/default.nix
index d019743bfb4d..e11a683082ed 100644
--- a/pkgs/development/interpreters/kerf/default.nix
+++ b/pkgs/development/interpreters/kerf/default.nix
@@ -18,9 +18,9 @@ stdenv.mkDerivation rec {
 
   sourceRoot = "${src.name}/src";
   buildInputs = [ libedit zlib ncurses ]
-    ++ lib.optionals stdenv.isDarwin ([
+    ++ lib.optionals stdenv.hostPlatform.isDarwin ([
       Accelerate
-    ] ++ lib.optionals stdenv.isx86_64 /* && isDarwin */ [
+    ] ++ lib.optionals stdenv.hostPlatform.isx86_64 /* && isDarwin */ [
       CoreGraphics CoreVideo
     ]);
 
@@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
     "implicit-function-declaration"
     "gnu-variable-sized-type-not-at-end"
     "unused-result"
-  ] ++ lib.optionals stdenv.isDarwin [ "-fcommon" ]);
+  ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ "-fcommon" ]);
 
   patchPhase = ''
     substituteInPlace ./Makefile \
@@ -88,6 +88,6 @@ stdenv.mkDerivation rec {
 
     # aarch64-linux seems hopeless, with over 2,000 warnings
     # generated?
-    broken = (stdenv.isLinux && stdenv.isAarch64);
+    broken = (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64);
   };
 }