Skip to content

Commit d6454e6

Browse files
committed
gnutls: try to fix build on Darwin, after update
1 parent 6d13742 commit d6454e6

File tree

1 file changed

+3
-1
lines changed
  • pkgs/development/libraries/gnutls

1 file changed

+3
-1
lines changed

pkgs/development/libraries/gnutls/3.5.nix

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{ callPackage, fetchurl, libunistring, ... } @ args:
1+
{ callPackage, stdenv, fetchurl, libunistring, darwin, ... } @ args:
22

33
callPackage ./generic.nix (args // rec {
44
version = "3.5.11";
@@ -15,4 +15,6 @@ callPackage ./generic.nix (args // rec {
1515
sed '2iexit 77' -i tests/pkgconfig.sh
1616
sed '/^void doit(void)/,$s/{/{ exit(77);/; t' -i tests/trust-store.c
1717
'';
18+
19+
buildInputs = stdenv.lib.optional stdenv.isDarwin darwin.Security;
1820
})

0 commit comments

Comments
 (0)