about summary refs log tree commit diff
path: root/pkgs/development/libraries/ngtcp2/gnutls.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/ngtcp2/gnutls.nix')
-rw-r--r--pkgs/development/libraries/ngtcp2/gnutls.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/ngtcp2/gnutls.nix b/pkgs/development/libraries/ngtcp2/gnutls.nix
index 1cf06ecb837f..31f69e82198f 100644
--- a/pkgs/development/libraries/ngtcp2/gnutls.nix
+++ b/pkgs/development/libraries/ngtcp2/gnutls.nix
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
 
   doCheck = true;
   nativeCheckInputs = [ cunit ]
-    ++ lib.optional stdenv.isDarwin ncurses;
+    ++ lib.optional stdenv.hostPlatform.isDarwin ncurses;
 
   passthru.tests = knot-dns.passthru.tests; # the only consumer so far