"Alternate FOD" for fixed output derivation that fails, mirror-like behavior #10986
Labels
derivation design
Issues to consider for new versions of the derivation format (major or incremental)
feature
Feature request or proposal
fetching
Networking with the outside (non-Nix) world, input locking
scheduling
Is your feature request related to a problem? Please describe.
Sometimes a fixed output derivation doesn't work. For example, a site may have gone offline.
However, the same content may be available in a different location, such as a mirror, web archive, or a peer to peer content addressable store such as IPFS.
Currently, only traditional mirrors lists can be used in anticipation of such failures.
Describe the solutions you'd like
"Inductive":
__alternateDerivation
__alternateDerivation
instead. It must produce an output with the samename
and hash."Algebraic":
system
value, such asbuiltin:alternatives
builder
attribute.alternatives
list, referencing derivations that implement the fixed output derivationComparison
It feels more natural to have metadata to be specified in the latter "algebraic" design, although nothing stops us from doing it with the inductive syntax.
Uses of metadata:
Additional context
Priorities
Add 👍 to issues you find important.
The text was updated successfully, but these errors were encountered: