install-nix-action

Installs Nix on GitHub Actions for the supported platforms: Linux and macOS.

APACHE-2.0 License

Stars
520
Committers
30

Bot releases are hidden (Show)

install-nix-action - v30

Published by domenkozar 16 days ago

install-nix-action - v29

Published by domenkozar 23 days ago

Bumps Nix to 2.24.8 to fix CVE-2024-47174

install-nix-action - v28

Published by domenkozar about 1 month ago

install-nix-action - V27 Latest Release

Published by domenkozar 5 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/cachix/install-nix-action/compare/v26...V27

install-nix-action - v26

Published by domenkozar 8 months ago

Bump to Nix 2.20.5 to address CVE-2024-27297 / GHSA-2ffj-w4mj-pg37.

install-nix-action - install-nix-action-v25

Published by domenkozar 9 months ago

Nix 2.19.2

install-nix-action - install-nix-action-v24

Published by domenkozar 11 months ago

  • Nix 2.19.1
  • enables KVM on linux
  • set TMPDIR to avoid potential disk space issues
  • don't use the default GitHub token for Enterprise
install-nix-action - install-nix-action-v23

Published by domenkozar about 1 year ago

  • always show Nix trace
  • Nix 2.17
install-nix-action - install-nix-action-v22

Published by domenkozar over 1 year ago

  • Nix 2.16.1
  • Fix issues with System Integrity Protection when using macos-12
install-nix-action - install-nix-action-v21

Published by domenkozar over 1 year ago

  • pin Nix to 2.15.1 (recent releases broke too many things)
  • fix the action to work on custom containers
install-nix-action - install-nix-action-v20

Published by domenkozar over 1 year ago

install-nix-action - install-nix-action-v19

Published by domenkozar over 1 year ago

  • expose github_access_token option and use the default github token by default to prevent rate limiting
  • support --no-daemon installation
install-nix-action - install-nix-action-v18

Published by domenkozar about 2 years ago

  • Fix nodejs warnings & simplify maintenance
  • Use python3 when determining number of cores
  • Collapse installer log messages
install-nix-action - install-nix-action-v17

Published by domenkozar over 2 years ago

install-nix-action - install-nix-action-v16

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).

install-nix-action - install-nix-action-v15

Published by domenkozar almost 3 years ago

  • 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 - install-nix-action-v14.1

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

install-nix-action - install-nix-action-v14

Published by domenkozar about 3 years ago

  • 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 - install-nix-action-v13

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.

install-nix-action - install-nix-action-v12

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