mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-30 09:36:15 +02:00
1ad3328c5e
Previously, for tarball flakes, we recorded the original URL of the tarball flake, rather than the URL to which it ultimately redirects. Thus, a flake URL like http://example.org/patchelf-latest.tar that redirects to http://example.org/patchelf-<revision>.tar was not really usable. We couldn't record the redirected URL, because sites like GitHub redirect to CDN URLs that we can't rely on to be stable. So now we use the redirected URL only if the server returns the `x-nix-is-immutable` or `x-amz-meta-nix-is-immutable` headers in its response. |
||
---|---|---|
.. | ||
attrs.cc | ||
attrs.hh | ||
cache.cc | ||
cache.hh | ||
fetch-settings.cc | ||
fetch-settings.hh | ||
fetchers.cc | ||
fetchers.hh | ||
git.cc | ||
github.cc | ||
indirect.cc | ||
input-accessor.cc | ||
input-accessor.hh | ||
local.mk | ||
mercurial.cc | ||
path.cc | ||
registry.cc | ||
registry.hh | ||
tarball.cc |