about summary refs log tree commit diff
path: root/pkgs/by-name/ba/bat/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/ba/bat/package.nix')
-rw-r--r--pkgs/by-name/ba/bat/package.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/by-name/ba/bat/package.nix b/pkgs/by-name/ba/bat/package.nix
index 9e4132bc0b460..716ad80de7251 100644
--- a/pkgs/by-name/ba/bat/package.nix
+++ b/pkgs/by-name/ba/bat/package.nix
@@ -24,7 +24,7 @@ rustPlatform.buildRustPackage rec {
 
   nativeBuildInputs = [ pkg-config installShellFiles makeWrapper ];
 
-  buildInputs = lib.optionals stdenv.isDarwin [ libiconv darwin.apple_sdk.frameworks.Security ];
+  buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ libiconv darwin.apple_sdk.frameworks.Security ];
 
   postInstall = ''
     installManPage $releaseDir/build/bat-*/out/assets/manual/bat.1