about summary refs log tree commit diff
path: root/pkgs/applications/misc/pastel/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/misc/pastel/default.nix')
-rw-r--r--pkgs/applications/misc/pastel/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/misc/pastel/default.nix b/pkgs/applications/misc/pastel/default.nix
index e48c0bbcab7b..5164e294a89b 100644
--- a/pkgs/applications/misc/pastel/default.nix
+++ b/pkgs/applications/misc/pastel/default.nix
@@ -13,7 +13,7 @@ rustPlatform.buildRustPackage rec {
 
   cargoHash = "sha256-+Cw/aAXkSbYLqc7TGWsMUJNo88v0s1Cq1m4V84j3gXE=";
 
-  buildInputs = lib.optional stdenv.isDarwin Security;
+  buildInputs = lib.optional stdenv.hostPlatform.isDarwin Security;
 
   meta = with lib; {
     description = "Command-line tool to generate, analyze, convert and manipulate colors";