--cold includes the stdenv bootstrap chain; add a realistic "upstream-substitutable" mode #22
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
--cold costs the full closure including ~310 stage0/mes/gcc-4.6 bootstrap drvs, putting the bootstrap chain on the critical path (904-min span floor largely an artifact). Nobody builds from stage0 — even cold builds substitute stdenv from cache.nixos.org. Add a mode (e.g. --cold=upstream or --assume-cache https://cache.nixos.org) that queries which paths upstream caches have (nix path-info --store https://cache.nixos.org) and costs only the genuinely-unsubstitutable remainder.
added
graph.output_paths/substitutable_paths/filter_upstream_substitutableand a--assume-cache [URL]flag that drops derivations whose outputs are all in the upstream binary cache. (Follow-up bug #24 found + fixed during validation — see below.)