mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-01 18:17:21 +03:00
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>
This commit is contained in:
parent
280f14490e
commit
603cae0768
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user