Skip to content

Releases: cachix/install-nix-action

install-nix-action-v16

20 Nov 20:56
d56f3ce
Compare
Choose a tag to compare

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

12 Nov 14:47
Compare
Choose a tag to compare
  • Enable flakes and the new CLI by default
  • Fix #97: single installation for Act and Docker should be fixed
  • Fix #91: retry official installation as it can sometimes return 400

install-nix-action-v14.1

14 Oct 18:44
Compare
Choose a tag to compare

github actions disable Spotlight by default now, so we don't have to do it in this action anymore

install-nix-action-v14

08 Sep 15:21
11e5400
Compare
Choose a tag to compare
  • 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

02 Apr 15:16
8d6d5e9
Compare
Choose a tag to compare

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

04 Nov 14:45
07da252
Compare
Choose a tag to compare
  • 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

21 Sep 13:21
95a8068
Compare
Choose a tag to compare
  • 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 extra nix.conf options

install-nix-action-v10

03 Jun 15:18
63cf434
Compare
Choose a tag to compare

install-nix-action-v9

27 May 14:55
4cbb444
Compare
Choose a tag to compare
  • 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

install-nix-action-v8

12 Mar 18:37
ebed63b
Compare
Choose a tag to compare

Allow installation path to redirect