From 2a4e6a93b9bfbb7c3b3873abd07ce9544f3cbf78 Mon Sep 17 00:00:00 2001 From: Pierre Bourdon Date: Thu, 24 Sep 2020 18:23:30 +0200 Subject: [PATCH] bind: add nixosTests.bind to passthru.tests --- pkgs/servers/dns/bind/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/servers/dns/bind/default.nix b/pkgs/servers/dns/bind/default.nix index 7937324b24c..2afc5da51f5 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";