about summary refs log tree commit diff
path: root/pkgs/development/libraries/getdns/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/getdns/default.nix')
-rw-r--r--pkgs/development/libraries/getdns/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/getdns/default.nix b/pkgs/development/libraries/getdns/default.nix
index 69d7f17dafe7..b85dc689d96c 100644
--- a/pkgs/development/libraries/getdns/default.nix
+++ b/pkgs/development/libraries/getdns/default.nix
@@ -62,7 +62,7 @@ in rec {
     nativeBuildInputs = [ cmake doxygen yq ];
 
     buildInputs = [ getdns libyaml openssl systemd ]
-      ++ lib.optionals stdenv.isDarwin [ darwin.Security ];
+      ++ lib.optionals stdenv.hostPlatform.isDarwin [ darwin.Security ];
 
     postInstall = ''
       rm -r $out/share/doc