Installs Nix on GitHub Actions for the supported platforms: Linux and macOS.
APACHE-2.0 License
Bot releases are visible (Hide)
Published by domenkozar 16 days ago
Published by domenkozar 23 days ago
Bumps Nix to 2.24.8 to fix CVE-2024-47174
Published by domenkozar about 1 month ago
always-allow-substitutes
by default by @sandydoo in https://github.com/cachix/install-nix-action/pull/207
Full Changelog: https://github.com/cachix/install-nix-action/compare/v26...V27
Published by domenkozar 8 months ago
Bump to Nix 2.20.5 to address CVE-2024-27297 / GHSA-2ffj-w4mj-pg37.
Published by domenkozar 9 months ago
Nix 2.19.2
Published by domenkozar 11 months ago
TMPDIR
to avoid potential disk space issuesPublished by domenkozar about 1 year ago
Published by domenkozar over 1 year ago
Published by domenkozar over 1 year ago
Published by domenkozar over 1 year ago
https://discourse.nixos.org/t/nix-2-14-0-released/25900/4Fix support for Nix 2.14 new profile location: https://github.com/NixOS/nix/pull/5226
Published by domenkozar over 1 year ago
--no-daemon
installationPublished by domenkozar about 2 years ago
Published by domenkozar over 2 years ago
Published by domenkozar almost 3 years ago
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).
Published by domenkozar almost 3 years ago
Published by domenkozar about 3 years ago
github actions disable Spotlight by default now, so we don't have to do it in this action anymore
Published by domenkozar about 3 years ago
Published by domenkozar over 3 years ago
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.
Published by domenkozar almost 4 years ago
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