about summary refs log tree commit diff
path: root/pkgs/tools/admin/coldsnap/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/admin/coldsnap/default.nix')
-rw-r--r--pkgs/tools/admin/coldsnap/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/admin/coldsnap/default.nix b/pkgs/tools/admin/coldsnap/default.nix
index b2825ce7d5a8..23360dc7f726 100644
--- a/pkgs/tools/admin/coldsnap/default.nix
+++ b/pkgs/tools/admin/coldsnap/default.nix
@@ -19,7 +19,7 @@ rustPlatform.buildRustPackage rec {
   };
   cargoHash = "sha256-ngkoxybl52zTH4wo+sIUtU8vtzOAp+jU1RyTO2KbCgU=";
 
-  buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ Security ];
+  buildInputs = [ openssl ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ Security ];
   nativeBuildInputs = [ pkg-config ];
 
   meta = with lib; {