mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 04:12:44 +03:00
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 {
|
||||
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;
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user