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