Fixup editorconfig action with Nix 2.14.0#218858
Conversation
e14dc64 to
6f22d9c
Compare
6f22d9c to
19a122e
Compare
|
Successful run due to switching to nix-shell: https://github.com/NixOS/nixpkgs/actions/runs/4296726730/jobs/7488798463 |
|
For posterity: the issue is that, with Nix 2.14.0, some shenanigans happened with the install script and Possible candidates that caused this are: NixOS/nix#5588 (most likely, IMVHO, but no evidence yet) |
2.14 has a bug related to profile locations that breaks nix-env, which in turn breaks cachix. Pin to 2.13 for now. More info at NixOS/nixpkgs#218858 (comment)
2.14 has a bug related to profile locations that breaks nix-env, which in turn breaks cachix. Pin to 2.13 for now. More info at NixOS/nixpkgs#218858 (comment)
2.14 has a bug related to profile locations that breaks nix-env, which in turn breaks cachix. Pin to 2.13 for now. More info at NixOS/nixpkgs#218858 (comment)
2.14 has a bug related to profile locations that breaks nix-env, which in turn breaks cachix. Pin to 2.13 for now. More info at NixOS/nixpkgs#218858 (comment)
same reasoning as #218858, only now for an action we depend on and can't fix quite as easily. cachix-action also uses nix-env and will thus not work correctly, so pin the nix version used to the last known good one.
In Nix 2.14.0 the `~/.nix-profile/bin` path is not on the `$PATH` anymore. As a result, cachix cannot find the binary after installation. Downgrading to 2.13.3 solves the issue. See NixOS/nixpkgs#218858 (comment) for more information.
|
Investigated this a bit. The issue is indeed due to NixOS/nix#5226 . There was supposed to be some backwards-compat logic to make the old paths still work, but it's evidently broken, as well as the corresponding tests. There's already a fix on cachix's side (https://github.com/cachix/install-nix-action/releases/tag/v20, thanks @domenkozar for the incredible reactivity :) ) and I'll try to submit one for Nix itself today |
2.14 has a bug related to profile locations that breaks nix-env, which in turn breaks cachix. Pin to 2.13 for now. More info at NixOS/nixpkgs#218858 (comment) (cherry picked from commit 9438e56)
2.14 has a bug related to profile locations that breaks nix-env, which in turn breaks cachix. Pin to 2.13 for now. More info at NixOS/nixpkgs#218858 (comment)
Description of changes
Supercedes #218853 (if this actually works lol).
Things done
sandbox = trueset innix.conf? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)