this repo has no description
1# Hot fix for curl in nix breaking with netrc
2# https://github.com/NixOS/nixpkgs/pull/356133
3final: prev: let
4 patched-curl = prev.curl.overrideAttrs (oldAttrs: {
5 patches =
6 (oldAttrs.patches or [])
7 ++ [
8 # https://github.com/curl/curl/issues/15496
9 (prev.fetchpatch {
10 url = "https://github.com/curl/curl/commit/f5c616930b5cf148b1b2632da4f5963ff48bdf88.patch";
11 hash = "sha256-FlsAlBxAzCmHBSP+opJVrZG8XxWJ+VP2ro4RAl3g0pQ=";
12 })
13 # https://github.com/curl/curl/issues/15513
14 (prev.fetchpatch {
15 url = "https://github.com/curl/curl/commit/0cdde0fdfbeb8c35420f6d03fa4b77ed73497694.patch";
16 hash = "sha256-WP0zahMQIx9PtLmIDyNSJICeIJvN60VzJGN2IhiEYv0=";
17 })
18 ];
19 });
20in {
21 nix = prev.nix.override (old: {
22 curl = patched-curl;
23 });
24}