about summary refs log tree commit diff
path: root/pkgs/development/libraries/libks/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/libks/default.nix')
-rw-r--r--pkgs/development/libraries/libks/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/development/libraries/libks/default.nix b/pkgs/development/libraries/libks/default.nix
index 4122d4f57617..cc6311f024ac 100644
--- a/pkgs/development/libraries/libks/default.nix
+++ b/pkgs/development/libraries/libks/default.nix
@@ -37,8 +37,8 @@ stdenv.mkDerivation rec {
   ];
 
   buildInputs = [ openssl ]
-    ++ lib.optional stdenv.isLinux libuuid
-    ++ lib.optional stdenv.isDarwin libossp_uuid;
+    ++ lib.optional stdenv.hostPlatform.isLinux libuuid
+    ++ lib.optional stdenv.hostPlatform.isDarwin libossp_uuid;
 
   passthru = {
     tests.freeswitch = freeswitch;
@@ -46,7 +46,7 @@ stdenv.mkDerivation rec {
   };
 
   meta = with lib; {
-    broken = stdenv.isDarwin;
+    broken = stdenv.hostPlatform.isDarwin;
     description = "Foundational support for signalwire C products";
     homepage = "https://github.com/signalwire/libks";
     maintainers = with lib.maintainers; [ misuzu ];