Skip to content

Commit

Permalink
curl: Fix passthru tests evaluation
Browse files Browse the repository at this point in the history
The override would previously clear the version attribute, which
likely started happening after 4187709.

Co-Authored-By: Martin Weinelt <hexa@darmstadt.ccc.de>
  • Loading branch information
2 people authored and vcunat committed Mar 20, 2023
1 parent 280f144 commit 603cae0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/tools/networking/curl/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 603cae0

Please sign in to comment.