about summary refs log tree commit diff
path: root/pkgs/applications/radio/airspy/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/radio/airspy/default.nix')
-rw-r--r--pkgs/applications/radio/airspy/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/radio/airspy/default.nix b/pkgs/applications/radio/airspy/default.nix
index 6cb0f40f129a..3c1fa511aef7 100644
--- a/pkgs/applications/radio/airspy/default.nix
+++ b/pkgs/applications/radio/airspy/default.nix
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
   buildInputs = [ libusb1 ];
 
   cmakeFlags =
-    lib.optionals stdenv.isLinux [ "-DINSTALL_UDEV_RULES=ON" ];
+    lib.optionals stdenv.hostPlatform.isLinux [ "-DINSTALL_UDEV_RULES=ON" ];
 
   meta = with lib; {
     homepage = "https://github.com/airspy/airspyone_host";