diff options
author | Robert Scott <code@humanleg.org.uk> | 2022-08-06 17:21:45 +0100 |
---|---|---|
committer | Robert Scott <code@humanleg.org.uk> | 2022-08-06 17:21:45 +0100 |
commit | 62e6c1a561ec39ca23145f25263a5f86aad727da (patch) | |
tree | d543bc5e1bde9a4e60a888ae77636531a5151c51 /pkgs/tools/networking/unbound | |
parent | 9d8e6c29d2fb517e05d5b14f3c758f8e59e66356 (diff) |
unbound: add gnutls to passthru.tests
Diffstat (limited to 'pkgs/tools/networking/unbound')
-rw-r--r-- | pkgs/tools/networking/unbound/default.nix | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/pkgs/tools/networking/unbound/default.nix b/pkgs/tools/networking/unbound/default.nix index cf1c7f717e664..a472bd258ed81 100644 --- a/pkgs/tools/networking/unbound/default.nix +++ b/pkgs/tools/networking/unbound/default.nix @@ -39,6 +39,9 @@ , withSlimLib ? stdenv.isLinux && !stdenv.hostPlatform.isMusl && !withDNSTAP , withPythonModule ? false , libnghttp2 + +# for passthru.tests +, gnutls }: stdenv.mkDerivation rec { @@ -142,7 +145,10 @@ stdenv.mkDerivation rec { (pkg: lib.optionalString (pkg ? dev) " --replace '-L${pkg.dev}/lib' '-L${pkg.out}/lib' --replace '-R${pkg.dev}/lib' '-R${pkg.out}/lib'") (builtins.filter (p: p != null) buildInputs); - passthru.tests = nixosTests.unbound; + passthru.tests = { + inherit gnutls; + nixos-test = nixosTests.unbound; + }; meta = with lib; { description = "Validating, recursive, and caching DNS resolver"; |