about summary refs log tree commit diff
path: root/pkgs/development/skaware-packages/build-skaware-package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/skaware-packages/build-skaware-package.nix')
-rw-r--r--pkgs/development/skaware-packages/build-skaware-package.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/skaware-packages/build-skaware-package.nix b/pkgs/development/skaware-packages/build-skaware-package.nix
index 4e912e3af2e8..abad54414566 100644
--- a/pkgs/development/skaware-packages/build-skaware-package.nix
+++ b/pkgs/development/skaware-packages/build-skaware-package.nix
@@ -84,7 +84,7 @@ stdenv.mkDerivation {
     # We assume every nix-based cross target has urandom.
     # This might not hold for e.g. BSD.
     "--with-sysdep-devurandom=yes"
-    (if stdenv.isDarwin
+    (if stdenv.hostPlatform.isDarwin
     then "--disable-shared"
     else "--enable-shared")
   ]
@@ -93,7 +93,7 @@ stdenv.mkDerivation {
     # Explicitly setting target ensures code can be compiled against a skalibs
     # binary built on a different version of darwin.
     # http://www.skarnet.org/cgi-bin/archive.cgi?1:mss:623:heiodchokfjdkonfhdph
-    ++ (lib.optional stdenv.isDarwin
+    ++ (lib.optional stdenv.hostPlatform.isDarwin
     "--build=${stdenv.hostPlatform.system}");
 
   inherit postConfigure;