curl: deduplicate definition of passthru.tests

This commit is contained in:
Robert Scott 2022-05-27 00:04:56 +01:00
parent f2366ef1e2
commit e9a0f109e5

View File

@ -177,8 +177,6 @@ stdenv.mkDerivation rec {
''; '';
passthru = { passthru = {
# Additional checking with support http3 protocol.
tests.nginx-http3 = nixosTests.nginx-http3;
inherit opensslSupport openssl; inherit opensslSupport openssl;
tests = { tests = {
inherit curlpp coeurl; inherit curlpp coeurl;
@ -186,6 +184,8 @@ stdenv.mkDerivation rec {
ocaml-curly = ocamlPackages.curly; ocaml-curly = ocamlPackages.curly;
php-curl = phpExtensions.curl; php-curl = phpExtensions.curl;
pycurl = python3.pkgs.pycurl; pycurl = python3.pkgs.pycurl;
# Additional checking with support http3 protocol.
inherit (nixosTests) nginx-http3;
}; };
}; };