about summary refs log tree commit diff
path: root/pkgs/tools/text/coloursum/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/text/coloursum/default.nix')
-rw-r--r--pkgs/tools/text/coloursum/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/text/coloursum/default.nix b/pkgs/tools/text/coloursum/default.nix
index 78f583e3f73d..8e84a1de14bc 100644
--- a/pkgs/tools/text/coloursum/default.nix
+++ b/pkgs/tools/text/coloursum/default.nix
@@ -13,7 +13,7 @@ rustPlatform.buildRustPackage rec {
 
   cargoHash = "sha256-dhcTpff4h37MHNbLoYUZiolSclSGcFrMJ3kKLCZAVAw=";
 
-  buildInputs = lib.optional stdenv.isDarwin Security;
+  buildInputs = lib.optional stdenv.hostPlatform.isDarwin Security;
 
   meta = with lib; {
     description = "Colourise your checksum output";