nix/scripts
zimbatm 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 adapt to apfs.util flag diff in catalina/big sur 2020-10-19 12:24:31 -05:00
install-darwin-multi-user.sh fix skipped multi-user install steps on macOS 2020-10-19 12:25:52 -05:00
install-multi-user.sh create missing profile files to fix zsh envvars 2020-10-19 12:25:52 -05:00
install-nix-from-closure.sh installer: simplify the per-build installation 2020-11-21 19:56:46 +01:00
install-systemd-multi-user.sh fix skipped multi-user install steps on macOS 2020-10-19 12:25:52 -05:00
install.in installer: simplify the per-build installation 2020-11-21 19:56:46 +01:00
local.mk Pull nix-profile-daemon from 1.11 2017-10-16 14:51:39 -04:00
nix-http-export.cgi.in Replace wrong (w.r.t. PATH) sed call with in-shell substitution 2009-02-19 20:46:45 +00:00
nix-profile-daemon.sh.in Fix iterating over $NIX_PROFILES in Zsh 2020-10-21 00:03:38 +04:00
nix-profile.sh.in Provide a default value for NIX_PATH 2019-11-22 22:08:51 +01:00
nix-reduce-build.in Add support for ‘make installcheck’ 2013-11-25 18:47:03 +01:00