gnutls: fix darwin build

This commit is contained in:
Daiderd Jordan 2017-08-06 13:01:37 +02:00
parent 332a60cbd1
commit 7960bbff14
No known key found for this signature in database
GPG key ID: D02435D05B810C96

View file

@ -1,7 +1,7 @@
{ lib, fetchurl, stdenv, zlib, lzo, libtasn1, nettle, pkgconfig, lzip
, guileBindings, guile, perl, gmp, autogen, libidn, p11_kit, libiconv
, tpmSupport ? false, trousers, which, nettools, libunistring
, unbound, dns-root-data
, unbound, dns-root-data, gettext
# Version dependent args
, version, src, patches ? [], postPatch ? "", nativeBuildInputs ? []
@ -41,6 +41,7 @@ stdenv.mkDerivation {
buildInputs = [ lzo lzip libtasn1 libidn p11_kit zlib gmp autogen libunistring unbound ]
++ lib.optional (stdenv.isFreeBSD || stdenv.isDarwin) libiconv
++ lib.optional stdenv.isDarwin gettext
++ lib.optional (tpmSupport && stdenv.isLinux) trousers
++ lib.optional guileBindings guile
++ buildInputs;