about summary refs log tree commit diff
path: root/pkgs/by-name/la/lan-mouse/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/la/lan-mouse/package.nix')
-rw-r--r--pkgs/by-name/la/lan-mouse/package.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/by-name/la/lan-mouse/package.nix b/pkgs/by-name/la/lan-mouse/package.nix
index dff74b1b7958..b9bf9b2ddb02 100644
--- a/pkgs/by-name/la/lan-mouse/package.nix
+++ b/pkgs/by-name/la/lan-mouse/package.nix
@@ -36,7 +36,7 @@ rustPlatform.buildRustPackage rec {
     libX11
     libXtst
   ]
-  ++ lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.CoreGraphics;
+  ++ lib.optional stdenv.hostPlatform.isDarwin darwin.apple_sdk.frameworks.CoreGraphics;
 
   cargoHash = "sha256-pDdpmZPaClU8KjFHO7v3FDQp9D83GQN+SnFg53q2fjs=";