about summary refs log tree commit diff
path: root/pkgs/applications/radio/rtl-sdr/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/radio/rtl-sdr/default.nix')
-rw-r--r--pkgs/applications/radio/rtl-sdr/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/radio/rtl-sdr/default.nix b/pkgs/applications/radio/rtl-sdr/default.nix
index f0bbba9b0a3b..6cb25feb980b 100644
--- a/pkgs/applications/radio/rtl-sdr/default.nix
+++ b/pkgs/applications/radio/rtl-sdr/default.nix
@@ -13,7 +13,7 @@ let
       nativeBuildInputs = [ pkg-config cmake ];
       propagatedBuildInputs = [ libusb1 ];
 
-      cmakeFlags = lib.optionals stdenv.isLinux [
+      cmakeFlags = lib.optionals stdenv.hostPlatform.isLinux [
         "-DINSTALL_UDEV_RULES=ON"
         "-DWITH_RPC=ON"
       ];