about summary refs log tree commit diff
path: root/pkgs/applications/misc/cloak/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/misc/cloak/default.nix')
-rw-r--r--pkgs/applications/misc/cloak/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/misc/cloak/default.nix b/pkgs/applications/misc/cloak/default.nix
index bf3dd3c4a081..61f307edd555 100644
--- a/pkgs/applications/misc/cloak/default.nix
+++ b/pkgs/applications/misc/cloak/default.nix
@@ -13,7 +13,7 @@ rustPlatform.buildRustPackage rec {
 
   cargoHash = "sha256-m11A5fcJzWoDZglrr2Es1V5ZJNepEkGeIRVhexJ7jws=";
 
-  buildInputs = lib.optionals stdenv.isDarwin [ Security ];
+  buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ Security ];
 
   meta = with lib; {
     homepage = "https://github.com/evansmurithi/cloak";