Releases: cachix/install-nix-action
install-nix-action-v17
- curl for downloading the installer is now in quiet mode (since all the bugs have been addressed)
- ensure user profile comes before default profile in PATH
- support https://github.com/actions-runner-controller/actions-runner-controller by using sudo in more places
install-nix-action-v16
The last release didn't fix https://github.com/nektos/act correctly.
This release corrects that and adds a test (you need act from master branch).
install-nix-action-v15
install-nix-action-v14.1
github actions disable Spotlight by default now, so we don't have to do it in this action anymore
install-nix-action-v14
- Create X number of users where X = 2 * cpu cores
- Linux: fallback to single-user installation if there's no systemd (support for https://github.com/nektos/act)
- Fixes a subtle bug on self-hosted runners when installation fails
install-nix-action-v13
Adds support for install_options
that allows passing custom installer options. Run sh <(curl -L https://nixos.org/nix/install) --help
to see what's supported.
This feature is useful for installing/testing development versions of Nix.
install-nix-action-v12
-
Idempotent installation
Don't run the installer if Nix has already been installed on the host.
We assume that the installed Nix is already in the desired state.This allows to share a given pipeline between hosted and self-hosted
runners. Usually the self-hosted runners are long-lived and already have
Nix installed.Note that this breaks backwards compatibility if you relied on installing Nix twice with different inputs
-
Replaced deprecated GitHub functions
install-nix-action-v11
- BREAKING: By default it has no nixpkgs configured, you have to set
nix_path
by picking a channel
or pin nixpkgs yourself. - Support self-hosted runners by not installing Nix if it's already installed
- Add
extra_nix_config
option to specify extranix.conf
options
install-nix-action-v10
Allow setting nix_path
install-nix-action-v9
- allow specifying
install_url
, mostly useful for testing non-stable Nix releases - allow skipping installation of nixpkgs channel via
skip_adding_nixpkgs_channel: true
to speed up installation for ~5s - a bunch of improvements in Nix 2.3.5 significantly speeds up installation: Linux can now install in ~7s, macOS in ~20s