Commit Graph

11 Commits

Author SHA1 Message Date
Eman Resu
6666fdb995 fetchurl/boot: partially apply match on mirrors 2026-07-26 00:51:33 -04:00
Eman Resu
540541e1ae fetchurl/boot: precompute mirror lookups 2026-07-26 00:49:03 -04:00
Eman Resu
14848d5db5 fetchurl/boot: use head foo instead of elemAt foo 0 2026-06-01 23:18:11 -04:00
Eman Resu
3d6d604a74 fetchurl/boot: inherit builtins to global scope 2026-06-01 23:18:10 -04:00
Eman Resu
62972398d8 fetchurl: avoid rewriteURL logic if it's null 2026-06-01 23:18:10 -04:00
Johan Herland
abda866f17 fetchurl: Add hook for rewriting/filtering URLs
This allows on-the-fly rewriting of URLs before they are passed from
fetchurl (or fetchurlBoot) to curl.

The intended use is to allow inserting company-internal mirrors, or
working around company firewalls and similar network restrictions,
without having to extensively patch across all of nixpkgs. Instead,
users can pass a function in their nixpkgs that performs the necessary
URL rewrites.

Co-authored-by: Alexander Bantyev <balsoft@balsoft.ru>
2025-06-04 10:29:08 +00:00
Anderson Torres
ce21e97a1f fetchurl: nixfmt-rfc-style 2024-09-25 14:51:53 -03:00
Janne Heß
0b3e7f063c boostrap fetchurl: Add SRI support 2022-08-24 09:55:45 +02:00
Robin Gloster
2d64d1e601 fetchurlBoot: add name attr 2017-08-04 08:22:04 +02:00
Eelco Dolstra
ac03df96ba openssl: 1.0.1t -> 1.0.1u, 1.0.2h -> 1.0.2i, 1.1.0 -> 1.1.0a
https://www.openssl.org/news/secadv/20160922.txt
2016-09-22 15:05:09 +02:00
Eelco Dolstra
e6f61b4cf3 fetchurlBoot: Use Nix's builtin fetchurl function
This removes the need for curl in bootstrapTools, and enables https
for bootstrap tarballs.
2016-02-27 20:27:24 +01:00