lix/tests/nixos
Eelco Dolstra 1ad3328c5e Allow tarball URLs to redirect to a lockable immutable URL
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.
2023-06-13 14:17:45 +02:00
..
containers Make /etc writability conditional on uid-range feature 2023-02-14 13:55:41 +01:00
authorization.nix tests/authorization: Simplify assertion 2023-02-10 13:03:24 +01:00
github-flakes.nix
nix-copy-closure.nix
nix-copy.nix Add a test for ControlMaster 2023-05-17 11:34:45 +04:00
nss-preload.nix
remote-builds.nix Add regression test 2023-02-10 17:51:44 +01:00
setuid.nix
sourcehut-flakes.nix
tarball-flakes.nix Allow tarball URLs to redirect to a lockable immutable URL 2023-06-13 14:17:45 +02:00