git.iko.soy/typeable/nixpkgs
on master help sign in
bind: add nixosTests.bind to passthru.tests
commit2a4e6a93b9bfbb7c3b3873abd07ce9544f3cbf78 authorPierre Bourdon <delroth@gmail.com> dateThu 24 Sep 2020, 18:23 (6 years ago) parentc27c9bd
1 file changed+3−1
pkgs/servers/dns/bind/default.nix+3−1
pkgs/servers/dns/bind/default.nix+3−1
@@ -2,7 +2,7 @@
22, perl, pkg-config
33, libcap, libtool, libxml2, openssl, libuv
44, enablePython ? config.bind.enablePython or false, python3 ? null
5−, enableSeccomp ? false, libseccomp ? null, buildPackages
5+, enableSeccomp ? false, libseccomp ? null, buildPackages, nixosTests
66}:
77
88assert enableSeccomp -> libseccomp != null;
@@ -72,6 +72,8 @@ stdenv.mkDerivation rec {
7272
7373 doCheck = false; # requires root and the net
7474
75+ passthru.tests = { inherit (nixosTests) bind; };
76+
7577 meta = with stdenv.lib; {
7678 homepage = "https://www.isc.org/downloads/bind/";
7779 description = "Domain name server";