about summary refs log tree commit diff
path: root/pkgs/tools/misc/sheldon/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/misc/sheldon/default.nix')
-rw-r--r--pkgs/tools/misc/sheldon/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/misc/sheldon/default.nix b/pkgs/tools/misc/sheldon/default.nix
index cf48868097b5..3d5e2e84a566 100644
--- a/pkgs/tools/misc/sheldon/default.nix
+++ b/pkgs/tools/misc/sheldon/default.nix
@@ -22,7 +22,7 @@ rustPlatform.buildRustPackage rec {
 
   cargoHash = "sha256-+yTX1wUfVVjsM42X0QliL+0xbzTPheADZibPh/5Czh8=";
 
-  buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ Security curl ];
+  buildInputs = [ openssl ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ Security curl ];
   nativeBuildInputs = [ installShellFiles pkg-config ];
 
   # Needs network connection