Skip to content

Commit

Permalink
bind: add nixosTests.bind to passthru.tests
Browse files Browse the repository at this point in the history
  • Loading branch information
delroth committed Sep 24, 2020
1 parent c27c9bd commit 2a4e6a9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkgs/servers/dns/bind/default.nix
Expand Up @@ -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;
Expand Down Expand Up @@ -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";
Expand Down

0 comments on commit 2a4e6a9

Please sign in to comment.