From c83103e77ce9ccb54246a5830c63e0d7d922907d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Mon, 20 Dec 2021 16:43:21 +0100 Subject: [PATCH] knot-dns: add knot-resolver build into passthru.tests --- pkgs/servers/dns/knot-dns/default.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/dns/knot-dns/default.nix b/pkgs/servers/dns/knot-dns/default.nix index 76ac1057a83b..ab7a152a81c0 100644 --- a/pkgs/servers/dns/knot-dns/default.nix +++ b/pkgs/servers/dns/knot-dns/default.nix @@ -1,6 +1,6 @@ { lib, stdenv, fetchurl, pkg-config, gnutls, liburcu, lmdb, libcap_ng, libidn2, libunistring , systemd, nettle, libedit, zlib, libiconv, libintl, libmaxminddb, libbpf, nghttp2, libmnl -, autoreconfHook, nixosTests +, autoreconfHook, nixosTests, knot-resolver }: stdenv.mkDerivation rec { @@ -53,7 +53,10 @@ stdenv.mkDerivation rec { rm -r "$out"/lib/*.la ''; - passthru.tests = { inherit (nixosTests) knot; }; + passthru.tests = { + inherit (nixosTests) knot; + inherit knot-resolver; + }; meta = with lib; { description = "Authoritative-only DNS server from .cz domain registry";