about summary refs log tree commit diff
path: root/pkgs/tools/misc/rates/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/misc/rates/default.nix')
-rw-r--r--pkgs/tools/misc/rates/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/misc/rates/default.nix b/pkgs/tools/misc/rates/default.nix
index d121453bd7d9..c774721eeecc 100644
--- a/pkgs/tools/misc/rates/default.nix
+++ b/pkgs/tools/misc/rates/default.nix
@@ -18,7 +18,7 @@ rustPlatform.buildRustPackage rec {
 
   cargoHash = "sha256-5EcTeMfa1GNp1q60qSgEi/I3298hXUD1Vc1K55XGW4I=";
 
-  buildInputs = lib.optional stdenv.isDarwin Security;
+  buildInputs = lib.optional stdenv.hostPlatform.isDarwin Security;
 
   meta = with lib; {
     description = "CLI tool that brings currency exchange rates right into your terminal";