diff options
author | Artturi <Artturin@artturin.com> | 2023-03-20 16:37:09 +0100 |
---|---|---|
committer | Vladimír Čunát <v@cunat.cz> | 2023-03-20 17:09:09 +0100 |
commit | 603cae0768edf341d75708f881f73abd04d8646d (patch) | |
tree | 7a5e251a7b3e4cacaa435227e939eb8de91fb008 | |
parent | 280f14490eeff5285e9f5e79b81869ce720546db (diff) |
curl: Fix passthru tests evaluation
The override would previously clear the version attribute, which likely started happening after 41877098. Co-Authored-By: Martin Weinelt <hexa@darmstadt.ccc.de>
-rw-r--r-- | pkgs/tools/networking/curl/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/networking/curl/default.nix b/pkgs/tools/networking/curl/default.nix index 5979a32cac49a..3fc6d760bceb5 100644 --- a/pkgs/tools/networking/curl/default.nix +++ b/pkgs/tools/networking/curl/default.nix @@ -168,7 +168,7 @@ stdenv.mkDerivation (finalAttrs: { inherit opensslSupport openssl; tests = { withCheck = finalAttrs.finalPackage.overrideAttrs (_: { doCheck = true; }); - fetchpatch = tests.fetchpatch.simple.override { fetchpatch = fetchpatch.override { fetchurl = useThisCurl fetchurl; }; }; + fetchpatch = tests.fetchpatch.simple.override { fetchpatch = (fetchpatch.override { fetchurl = useThisCurl fetchurl; }) // { version = 1; }; }; curlpp = useThisCurl curlpp; coeurl = useThisCurl coeurl; haskell-curl = useThisCurl haskellPackages.curl; |