about summary refs log tree commit diff
path: root/pkgs/tools/text/chars/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/text/chars/default.nix')
-rw-r--r--pkgs/tools/text/chars/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/text/chars/default.nix b/pkgs/tools/text/chars/default.nix
index 509953e8059b1..ca2ad027c2cf6 100644
--- a/pkgs/tools/text/chars/default.nix
+++ b/pkgs/tools/text/chars/default.nix
@@ -17,7 +17,7 @@ rustPlatform.buildRustPackage rec {
 
   cargoHash = "sha256-wqyExG4haco6jg1zpbouz3xMR7sjiVIAC16PnDU2tc8=";
 
-  buildInputs = lib.optionals stdenv.isDarwin [ Security ];
+  buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ Security ];
 
   meta = with lib; {
     description = "Commandline tool to display information about unicode characters";