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
Great work debugging! Yeah, it's the exact same issue.
https://github.com/cachix/install-nix-action v20 fixed this a while ago :)