about summary refs log tree commit diff
path: root/pkgs/development/embedded/blisp/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/embedded/blisp/default.nix')
-rw-r--r--pkgs/development/embedded/blisp/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/embedded/blisp/default.nix b/pkgs/development/embedded/blisp/default.nix
index ba1f42a90b0d..b6add8db9b8a 100644
--- a/pkgs/development/embedded/blisp/default.nix
+++ b/pkgs/development/embedded/blisp/default.nix
@@ -25,14 +25,14 @@ stdenv.mkDerivation (finalAttrs: {
   buildInputs = [
     argtable
     libserialport
-  ] ++ lib.optional stdenv.isDarwin IOKit;
+  ] ++ lib.optional stdenv.hostPlatform.isDarwin IOKit;
 
   cmakeFlags = [
     "-DBLISP_BUILD_CLI=ON"
     "-DBLISP_USE_SYSTEM_LIBRARIES=ON"
   ];
 
-  env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin "-Wno-error=implicit-function-declaration";
+  env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.hostPlatform.isDarwin "-Wno-error=implicit-function-declaration";
 
   passthru.tests.version = testers.testVersion {
     package = finalAttrs.finalPackage;