knot-dns: try to fixup on Darwin
This commit is contained in:
parent
d32bf457ef
commit
378c6d7063
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, gnutls, jansson, liburcu, lmdb, libcap_ng, libidn
|
{ stdenv, fetchurl, pkgconfig, gnutls, jansson, liburcu, lmdb, libcap_ng, libidn
|
||||||
, systemd, nettle, libedit, zlib, libiconv, fetchpatch
|
, systemd, nettle, libedit, zlib, libiconv, libintlOrEmpty
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let inherit (stdenv.lib) optional optionals; in
|
let inherit (stdenv.lib) optional optionals; in
|
||||||
@ -25,6 +25,7 @@ stdenv.mkDerivation rec {
|
|||||||
]
|
]
|
||||||
# Use embedded lmdb there for now, as detection is broken on Darwin somehow.
|
# Use embedded lmdb there for now, as detection is broken on Darwin somehow.
|
||||||
++ optionals stdenv.isLinux [ libcap_ng systemd lmdb ]
|
++ optionals stdenv.isLinux [ libcap_ng systemd lmdb ]
|
||||||
|
++ libintlOrEmpty
|
||||||
++ optional stdenv.isDarwin zlib; # perhaps due to gnutls
|
++ optional stdenv.isDarwin zlib; # perhaps due to gnutls
|
||||||
|
|
||||||
# Not ideal but seems to work on Linux.
|
# Not ideal but seems to work on Linux.
|
||||||
|
Loading…
Reference in New Issue
Block a user