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 Use the official, documented NixOS runTest interface 2023-01-20 16:23:52 +01:00
nix-copy-closure.nix Use the official, documented NixOS runTest interface 2023-01-20 16:23:52 +01:00
nix-copy.nix Add a test for ControlMaster 2023-05-17 11:34:45 +04:00
nss-preload.nix Use the official, documented NixOS runTest interface 2023-01-20 16:23:52 +01:00
remote-builds.nix Add regression test 2023-02-10 17:51:44 +01:00
setuid.nix Use the official, documented NixOS runTest interface 2023-01-20 16:23:52 +01:00
sourcehut-flakes.nix Use the official, documented NixOS runTest interface 2023-01-20 16:23:52 +01:00
tarball-flakes.nix Allow tarball URLs to redirect to a lockable immutable URL 2023-06-13 14:17:45 +02:00