about summary refs log tree commit diff
path: root/pkgs/applications/radio/soapybladerf/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/radio/soapybladerf/default.nix')
-rw-r--r--pkgs/applications/radio/soapybladerf/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/radio/soapybladerf/default.nix b/pkgs/applications/radio/soapybladerf/default.nix
index 0f2b445b960e..15c46507350c 100644
--- a/pkgs/applications/radio/soapybladerf/default.nix
+++ b/pkgs/applications/radio/soapybladerf/default.nix
@@ -19,7 +19,7 @@ in stdenv.mkDerivation {
 
   nativeBuildInputs = [ cmake pkg-config ];
   buildInputs = [ libbladeRF soapysdr ]
-    ++ lib.optionals stdenv.isDarwin [ libobjc IOKit Security ];
+    ++ lib.optionals stdenv.hostPlatform.isDarwin [ libobjc IOKit Security ];
 
   cmakeFlags = [ "-DSoapySDR_DIR=${soapysdr}/share/cmake/SoapySDR/" ];