Closed l0b0 closed 1 year ago
Ran into this as well for not finding nix-env
on path. Looks like its caused but nix 2.14 which was released today https://github.com/NixOS/nix/milestone/22
I would assume this pr is the cause but not sure on what the needed fix is yet https://github.com/NixOS/nix/pull/5226
Work around i found was to pin to 2.13.3
- uses: cachix/install-nix-action@v19
with:
install_url: https://releases.nixos.org/nix/nix-2.13.3/install
I've released v20 that fixes this critical bug.
I've asked here to release candidate Nix releases to make sure things go smoother: https://discourse.nixos.org/t/nix-2-14-0-released/25900/4
Going to leave it open for a while to make sure people find the fix.
@domenkozar i think it would be useful to pin the nix version in this action and have a test job gating the update.
@domenkozar i think it would be useful to pin the nix version in this action and have a test job gating the update.
I'm going to work on automation to test the unstable Nix installer before it's released to prevent such failures in the future.
Two separate repos with the same code:
are suddenly reporting the same issue during
cachix/cachix-action@v12
: