cachix / cachix-action

Build software only once and put it in a global cache

Home Page:https://cachix.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fails with nix-installer-action and Nix 2.15.1

lovesegfault opened this issue · comments

The failed run is here: https://github.com/lovesegfault/nix-config/actions/runs/5049564248

Worked fine with Nix 2.13, but bumping to 2.15 caused this action to start failing.

It seems to be a similar PATH related issue to what caused this to fail with cachix/install-nix-action before that had its version bumped to v20?

cc. @Hoverbear

This simple patch fixed it: lovesegfault/nix-config@ee15328

It's actually a bug with https://github.com/DeterminateSystems/nix-installer-action not adding $HOME/.nix-profile/bin to $GITHUB_PATH

commented

Great work debugging! Yeah, it's the exact same issue.