about summary refs log tree commit diff
path: root/pkgs/applications/radio/soapyairspy/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/radio/soapyairspy/default.nix')
-rw-r--r--pkgs/applications/radio/soapyairspy/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/radio/soapyairspy/default.nix b/pkgs/applications/radio/soapyairspy/default.nix
index 289a20d281cc..9d198ad15eb3 100644
--- a/pkgs/applications/radio/soapyairspy/default.nix
+++ b/pkgs/applications/radio/soapyairspy/default.nix
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
 
   nativeBuildInputs = [ cmake ];
   buildInputs = [ airspy soapysdr ]
-    ++ lib.optionals stdenv.isDarwin [ libobjc IOKit Security ];
+    ++ lib.optionals stdenv.hostPlatform.isDarwin [ libobjc IOKit Security ];
 
   cmakeFlags = [ "-DSoapySDR_DIR=${soapysdr}/share/cmake/SoapySDR/" ];