diff --git a/pkgs/development/libraries/gnutls/3.5.nix b/pkgs/development/libraries/gnutls/3.5.nix index 77ecd4957f75..c3560c43e475 100644 --- a/pkgs/development/libraries/gnutls/3.5.nix +++ b/pkgs/development/libraries/gnutls/3.5.nix @@ -1,4 +1,4 @@ -{ callPackage, fetchurl, libunistring, ... } @ args: +{ callPackage, stdenv, fetchurl, libunistring, darwin, ... } @ args: callPackage ./generic.nix (args // rec { version = "3.5.11"; @@ -15,4 +15,6 @@ callPackage ./generic.nix (args // rec { sed '2iexit 77' -i tests/pkgconfig.sh sed '/^void doit(void)/,$s/{/{ exit(77);/; t' -i tests/trust-store.c ''; + + buildInputs = stdenv.lib.optional stdenv.isDarwin darwin.Security; })