unbound: add gnutls to passthru.tests
This commit is contained in:
parent
9d8e6c29d2
commit
62e6c1a561
1 changed files with 7 additions and 1 deletions
|
@ -39,6 +39,9 @@
|
||||||
, withSlimLib ? stdenv.isLinux && !stdenv.hostPlatform.isMusl && !withDNSTAP
|
, withSlimLib ? stdenv.isLinux && !stdenv.hostPlatform.isMusl && !withDNSTAP
|
||||||
, withPythonModule ? false
|
, withPythonModule ? false
|
||||||
, libnghttp2
|
, libnghttp2
|
||||||
|
|
||||||
|
# for passthru.tests
|
||||||
|
, gnutls
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
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'")
|
(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);
|
(builtins.filter (p: p != null) buildInputs);
|
||||||
|
|
||||||
passthru.tests = nixosTests.unbound;
|
passthru.tests = {
|
||||||
|
inherit gnutls;
|
||||||
|
nixos-test = nixosTests.unbound;
|
||||||
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Validating, recursive, and caching DNS resolver";
|
description = "Validating, recursive, and caching DNS resolver";
|
||||||
|
|
Loading…
Reference in a new issue