about summary refs log tree commit diff
path: root/pkgs/servers/dns/doh-proxy-rust/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/servers/dns/doh-proxy-rust/default.nix')
-rw-r--r--pkgs/servers/dns/doh-proxy-rust/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/servers/dns/doh-proxy-rust/default.nix b/pkgs/servers/dns/doh-proxy-rust/default.nix
index 244ec35a6768..5de2732b186a 100644
--- a/pkgs/servers/dns/doh-proxy-rust/default.nix
+++ b/pkgs/servers/dns/doh-proxy-rust/default.nix
@@ -12,7 +12,7 @@ rustPlatform.buildRustPackage rec {
 
   cargoHash = "sha256-eXPAn2ziSdciZa6YrOIa7y7Lms681X+yVAD9HrvsZHg=";
 
-  buildInputs = lib.optionals stdenv.isDarwin [ Security libiconv ];
+  buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ Security libiconv ];
 
   passthru.tests = { inherit (nixosTests) doh-proxy-rust; };