knot-dns: add passthru.tests
I hope I got the conventions right (found in doc/stdenv/meta.chapter.md)
This commit is contained in:
parent
28dd3b6177
commit
cf0b179b5e
@ -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
|
||||
, autoreconfHook
|
||||
, autoreconfHook, nixosTests
|
||||
}:
|
||||
|
||||
let inherit (lib) optional optionals; in
|
||||
@ -56,6 +56,8 @@ stdenv.mkDerivation rec {
|
||||
rm -r "$out"/lib/*.la
|
||||
'';
|
||||
|
||||
passthru.tests = { inherit (nixosTests) knot; };
|
||||
|
||||
meta = with lib; {
|
||||
description = "Authoritative-only DNS server from .cz domain registry";
|
||||
homepage = "https://knot-dns.cz";
|
||||
|
Loading…
Reference in New Issue
Block a user