@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, libevent, openssl
1+{ stdenv, fetchurl, libevent, openssl, nixosTests
22, bind8Stats ? false
33, checking ? false
44, ipv6 ? true
@@ -11,7 +11,7 @@
1111, rrtypes ? false
1212, zoneStats ? false
1313
14−, configFile ? "etc/nsd/nsd.conf"
14+, configFile ? "/etc/nsd/nsd.conf"
1515}:
1616
1717stdenv.mkDerivation rec {
@@ -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";