about summary refs log tree commit diff
path: root/pkgs/by-name/ca/cargo-vibe/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/ca/cargo-vibe/package.nix')
-rw-r--r--pkgs/by-name/ca/cargo-vibe/package.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/by-name/ca/cargo-vibe/package.nix b/pkgs/by-name/ca/cargo-vibe/package.nix
index 4caaa823264b..ba7a5882b5bb 100644
--- a/pkgs/by-name/ca/cargo-vibe/package.nix
+++ b/pkgs/by-name/ca/cargo-vibe/package.nix
@@ -28,8 +28,8 @@ rustPlatform.buildRustPackage rec {
     dbus
     openssl
   ]
-  ++ lib.optional stdenv.isLinux udev
-  ++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ AppKit IOKit CoreBluetooth ]);
+  ++ lib.optional stdenv.hostPlatform.isLinux udev
+  ++ lib.optionals stdenv.hostPlatform.isDarwin (with darwin.apple_sdk.frameworks; [ AppKit IOKit CoreBluetooth ]);
 
   meta = with lib; {
     description = "Cargo x Buttplug.io";