about summary refs log tree commit diff
path: root/pkgs/development/libraries/rustls-ffi/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/rustls-ffi/default.nix')
-rw-r--r--pkgs/development/libraries/rustls-ffi/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/rustls-ffi/default.nix b/pkgs/development/libraries/rustls-ffi/default.nix
index d5d736dd2225..92dffbc2682f 100644
--- a/pkgs/development/libraries/rustls-ffi/default.nix
+++ b/pkgs/development/libraries/rustls-ffi/default.nix
@@ -18,7 +18,7 @@ rustPlatform.buildRustPackage rec {
     hash = "sha256-IDIWN5g1aaE6SDdXSm4WYK6n+BpuypPYQITuDj1WJEc=";
   };
 
-  propagatedBuildInputs = lib.optionals stdenv.isDarwin [ Security ];
+  propagatedBuildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ Security ];
 
   cargoLock.lockFile = ./Cargo.lock;
   postPatch = ''