about summary refs log tree commit diff
path: root/pkgs/applications/radio/ubertooth/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/radio/ubertooth/default.nix')
-rw-r--r--pkgs/applications/radio/ubertooth/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/radio/ubertooth/default.nix b/pkgs/applications/radio/ubertooth/default.nix
index 62e645fb6df8..2d8b9f857938 100644
--- a/pkgs/applications/radio/ubertooth/default.nix
+++ b/pkgs/applications/radio/ubertooth/default.nix
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
   nativeBuildInputs = [ cmake pkg-config ];
   buildInputs = [ libbtbb libpcap libusb1 bluez ];
 
-  cmakeFlags = lib.optionals stdenv.isLinux [
+  cmakeFlags = lib.optionals stdenv.hostPlatform.isLinux [
     "-DINSTALL_UDEV_RULES=TRUE"
     "-DUDEV_RULES_PATH=etc/udev/rules.d"
     "-DUDEV_RULES_GROUP=${udevGroup}"