mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
knot-dns: try to fixup on Darwin
This commit is contained in:
parent
d32bf457ef
commit
378c6d7063
1 changed files with 2 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
{ 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
|
||||
|
@ -25,6 +25,7 @@ stdenv.mkDerivation rec {
|
|||
]
|
||||
# Use embedded lmdb there for now, as detection is broken on Darwin somehow.
|
||||
++ optionals stdenv.isLinux [ libcap_ng systemd lmdb ]
|
||||
++ libintlOrEmpty
|
||||
++ optional stdenv.isDarwin zlib; # perhaps due to gnutls
|
||||
|
||||
# Not ideal but seems to work on Linux.
|
||||
|
|
Loading…
Reference in a new issue