lix/scripts
Jonas Chevalier 233b61d3d6
installer: simplify the per-build installation
The goal is to allow the installation and testing of arbitrary Nix
versions. Extend the base installer to accept a `--tarball-url-prefix
<url>` to change where the Nix tarball is getting downloaded from.

Once this is merged it should allow to:
1. Pick an evaluation at https://hydra.nixos.org/jobset/nix/master that
   looks healthy
2. Select the installedScript build and find the store path.

Now equipped with all of this, use an instance of nar-serve to fetch the
install script and release tarballs:

    curl -sfL https://nar-serve.numtide.com/nix/store/rkv4yh7pym941bhj0849zqdkg2546bdv-installer-script/install \
      | sh --tarball-url-prefix https://nar-serve.numtide.com/nix/store

Or with cachix, strip the /nix/store and derivation name and then:

    curl -sfL https://mycache.cachix.org/serve/rkv4yh7pym941bhj0849zqdkg2546bdv/install \
      | sh --tarball-url-prefix https://mycache.cachix.org/serve

Fixes #4047
2020-11-21 19:56:46 +01:00
..
create-darwin-volume.sh
install-darwin-multi-user.sh
install-multi-user.sh
install-nix-from-closure.sh installer: simplify the per-build installation 2020-11-21 19:56:46 +01:00
install-systemd-multi-user.sh
install.in installer: simplify the per-build installation 2020-11-21 19:56:46 +01:00
local.mk
nix-http-export.cgi.in
nix-profile-daemon.sh.in
nix-profile.sh.in
nix-reduce-build.in