Skip to content

Commit

Permalink
knot-dns: another attempt to fix build on Darwin
Browse files Browse the repository at this point in the history
  • Loading branch information
vcunat committed Jan 30, 2017
1 parent a2018ce commit 196b87f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pkgs/servers/dns/knot-dns/default.nix
@@ -1,5 +1,6 @@
{ stdenv, fetchurl, pkgconfig, gnutls, jansson, liburcu, lmdb, libcap_ng, libidn
, systemd, nettle, libedit }:
, systemd, nettle, libedit, zlib
}:

# Note: ATM only the libraries have been tested in nixpkgs.
stdenv.mkDerivation rec {
Expand All @@ -20,7 +21,8 @@ stdenv.mkDerivation rec {
# without sphinx &al. for developer documentation
]
# Use embedded lmdb there for now, as detection is broken on Darwin somehow.
++ stdenv.lib.optionals stdenv.isLinux [ libcap_ng systemd lmdb ];
++ stdenv.lib.optionals stdenv.isLinux [ libcap_ng systemd lmdb ]
++ stdenv.lib.optional stdenv.isDarwin zlib; # perhaps due to gnutls

enableParallelBuilding = true;

Expand Down

0 comments on commit 196b87f

Please sign in to comment.