gnutls: fix darwin build
This commit is contained in:
parent
332a60cbd1
commit
7960bbff14
@ -1,7 +1,7 @@
|
|||||||
{ lib, fetchurl, stdenv, zlib, lzo, libtasn1, nettle, pkgconfig, lzip
|
{ lib, fetchurl, stdenv, zlib, lzo, libtasn1, nettle, pkgconfig, lzip
|
||||||
, guileBindings, guile, perl, gmp, autogen, libidn, p11_kit, libiconv
|
, guileBindings, guile, perl, gmp, autogen, libidn, p11_kit, libiconv
|
||||||
, tpmSupport ? false, trousers, which, nettools, libunistring
|
, tpmSupport ? false, trousers, which, nettools, libunistring
|
||||||
, unbound, dns-root-data
|
, unbound, dns-root-data, gettext
|
||||||
|
|
||||||
# Version dependent args
|
# Version dependent args
|
||||||
, version, src, patches ? [], postPatch ? "", nativeBuildInputs ? []
|
, version, src, patches ? [], postPatch ? "", nativeBuildInputs ? []
|
||||||
@ -41,6 +41,7 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
buildInputs = [ lzo lzip libtasn1 libidn p11_kit zlib gmp autogen libunistring unbound ]
|
buildInputs = [ lzo lzip libtasn1 libidn p11_kit zlib gmp autogen libunistring unbound ]
|
||||||
++ lib.optional (stdenv.isFreeBSD || stdenv.isDarwin) libiconv
|
++ lib.optional (stdenv.isFreeBSD || stdenv.isDarwin) libiconv
|
||||||
|
++ lib.optional stdenv.isDarwin gettext
|
||||||
++ lib.optional (tpmSupport && stdenv.isLinux) trousers
|
++ lib.optional (tpmSupport && stdenv.isLinux) trousers
|
||||||
++ lib.optional guileBindings guile
|
++ lib.optional guileBindings guile
|
||||||
++ buildInputs;
|
++ buildInputs;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user