From 924ebf6556118f1ccbc83e5d19e90e5ebde8efb2 Mon Sep 17 00:00:00 2001 From: Robert Scott Date: Sat, 7 May 2022 15:51:02 +0100 Subject: [PATCH] curl: add some key reverse-dependencies to passthru.tests --- pkgs/tools/networking/curl/default.nix | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/pkgs/tools/networking/curl/default.nix b/pkgs/tools/networking/curl/default.nix index a4056fd28a92..63be9a10f7c7 100644 --- a/pkgs/tools/networking/curl/default.nix +++ b/pkgs/tools/networking/curl/default.nix @@ -24,6 +24,15 @@ , wolfsslSupport ? false, wolfssl ? null , zlibSupport ? true, zlib ? null , zstdSupport ? false, zstd ? null + +# for passthru.tests +, coeurl +, curlcpp +, curlpp +, haskellPackages +, ocamlPackages +, phpExtensions +, python3 }: # Note: this package is used for bootstrapping fetchurl, and thus @@ -159,6 +168,13 @@ stdenv.mkDerivation rec { passthru = { inherit opensslSupport openssl; + tests = { + inherit curlpp curlcpp coeurl; + haskell-curl = haskellPackages.curl; + ocaml-curly = ocamlPackages.curly; + php-curl = phpExtensions.curl; + pycurl = python3.pkgs.pycurl; + }; }; meta = with lib; {