gnutls: try to fix build on Darwin, after update
This commit is contained in:
parent
6d1374238f
commit
d6454e6a15
@ -1,4 +1,4 @@
|
|||||||
{ callPackage, fetchurl, libunistring, ... } @ args:
|
{ callPackage, stdenv, fetchurl, libunistring, darwin, ... } @ args:
|
||||||
|
|
||||||
callPackage ./generic.nix (args // rec {
|
callPackage ./generic.nix (args // rec {
|
||||||
version = "3.5.11";
|
version = "3.5.11";
|
||||||
@ -15,4 +15,6 @@ callPackage ./generic.nix (args // rec {
|
|||||||
sed '2iexit 77' -i tests/pkgconfig.sh
|
sed '2iexit 77' -i tests/pkgconfig.sh
|
||||||
sed '/^void doit(void)/,$s/{/{ exit(77);/; t' -i tests/trust-store.c
|
sed '/^void doit(void)/,$s/{/{ exit(77);/; t' -i tests/trust-store.c
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
buildInputs = stdenv.lib.optional stdenv.isDarwin darwin.Security;
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user