git.iko.soy/typeable/nixpkgs
on master help sign in
nsd: set passthru.tests
commit15c8a4800e0b0d34f378806df01abf3d0f41de80 authorFélix Baylac-Jacqué <felix@alternativebit.fr> dateFri 26 Jun 2020, 08:53 (6 years ago) parent0c47a81
1 file changed+5−1
pkgs/servers/dns/nsd/default.nix+5−1
pkgs/servers/dns/nsd/default.nix+5−1
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, libevent, openssl
1+{ stdenv, fetchurl, libevent, openssl, nixosTests
22, bind8Stats ? false
33, checking ? false
44, ipv6 ? true
@@ -52,6 +52,10 @@ stdenv.mkDerivation rec {
5252 sed 's@$(INSTALL_DATA) nsd.conf.sample $(DESTDIR)$(nsdconfigfile).sample@@g' -i Makefile.in
5353 '';
5454
55+ passthru.tests = {
56+ inherit (nixosTests) nsd;
57+ };
58+
5559 meta = with stdenv.lib; {
5660 homepage = "http://www.nlnetlabs.nl";
5761 description = "Authoritative only, high performance, simple and open source name server";