about summary refs log tree commit diff
path: root/pkgs/by-name/ru/rustls-ffi/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/ru/rustls-ffi/package.nix')
-rw-r--r--pkgs/by-name/ru/rustls-ffi/package.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/by-name/ru/rustls-ffi/package.nix b/pkgs/by-name/ru/rustls-ffi/package.nix
index 015a3b9a72c9..e5317b40b78c 100644
--- a/pkgs/by-name/ru/rustls-ffi/package.nix
+++ b/pkgs/by-name/ru/rustls-ffi/package.nix
@@ -30,7 +30,7 @@ stdenv.mkDerivation (finalAttrs: {
     hash = "sha256-gDQ9AFrJuV7SrzKCAHQBkKj6clXuPLO0DHhnvcBqRLs=";
   };
 
-  propagatedBuildInputs = lib.optionals stdenv.isDarwin [ libiconv darwin.apple_sdk.frameworks.Security ];
+  propagatedBuildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ libiconv darwin.apple_sdk.frameworks.Security ];
 
   nativeBuildInputs = [ cargo rustPlatform.cargoSetupHook cargo-c validatePkgConfig ];