diff options
author | Pierre Bourdon <delroth@gmail.com> | 2020-09-24 18:23:30 +0200 |
---|---|---|
committer | Pierre Bourdon <delroth@gmail.com> | 2020-09-24 18:23:30 +0200 |
commit | 2a4e6a93b9bfbb7c3b3873abd07ce9544f3cbf78 (patch) | |
tree | 047b954d4498236ceb1cf244bd4b007638798ea3 /pkgs/servers/dns | |
parent | c27c9bd38078cffb2908b9dfae2495761ac14ad6 (diff) |
bind: add nixosTests.bind to passthru.tests
Diffstat (limited to 'pkgs/servers/dns')
-rw-r--r-- | pkgs/servers/dns/bind/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/servers/dns/bind/default.nix b/pkgs/servers/dns/bind/default.nix index 7937324b24cb..2afc5da51f57 100644 --- a/pkgs/servers/dns/bind/default.nix +++ b/pkgs/servers/dns/bind/default.nix @@ -2,7 +2,7 @@ , perl, pkg-config , libcap, libtool, libxml2, openssl, libuv , enablePython ? config.bind.enablePython or false, python3 ? null -, enableSeccomp ? false, libseccomp ? null, buildPackages +, enableSeccomp ? false, libseccomp ? null, buildPackages, nixosTests }: assert enableSeccomp -> libseccomp != null; @@ -72,6 +72,8 @@ stdenv.mkDerivation rec { doCheck = false; # requires root and the net + passthru.tests = { inherit (nixosTests) bind; }; + meta = with stdenv.lib; { homepage = "https://www.isc.org/downloads/bind/"; description = "Domain name server"; |