diff --git a/pkgs/servers/dns/knot-resolver/default.nix b/pkgs/servers/dns/knot-resolver/default.nix index 10181de159f..323b0b50000 100644 --- a/pkgs/servers/dns/knot-resolver/default.nix +++ b/pkgs/servers/dns/knot-resolver/default.nix @@ -23,7 +23,8 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ pkgconfig which makeWrapper hexdump ]; - buildInputs = [ knot-dns lmdb luajit libuv gnutls ] + buildInputs = [ knot-dns luajit libuv gnutls ] + ++ optional stdenv.isLinux lmdb # system lmdb causes some problems on Darwin ## optional dependencies ++ optional doInstallCheck cmocka ++ optional stdenv.isLinux systemd # socket activation