about summary refs log tree commit diff
path: root/pkgs/development/tools/cocogitto/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/tools/cocogitto/default.nix')
-rw-r--r--pkgs/development/tools/cocogitto/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/tools/cocogitto/default.nix b/pkgs/development/tools/cocogitto/default.nix
index 6760b4754203..848b6fb2f10d 100644
--- a/pkgs/development/tools/cocogitto/default.nix
+++ b/pkgs/development/tools/cocogitto/default.nix
@@ -19,7 +19,7 @@ rustPlatform.buildRustPackage rec {
 
   nativeBuildInputs = [ installShellFiles ];
 
-  buildInputs = [ libgit2 ] ++ lib.optional stdenv.isDarwin Security;
+  buildInputs = [ libgit2 ] ++ lib.optional stdenv.hostPlatform.isDarwin Security;
 
   postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
     installShellCompletion --cmd cog \