cebaa
November 19, 2022, 12:36am
1
On a fresh nix install, following the instructions here: Getting Started - devenv
$ nix profile install nixpkgs#cachix
error: don't know how to recreate store derivation '/nix/store/k6vcmg6czqf6ipkqbpmdymzc61m0v77x-cachix-1.0.1.drv'!
Any ideas what’s going on?
Could you try:
nix-env -iA cachix -f https://cachix.org/api/v1/install
cebaa
November 22, 2022, 2:08pm
3
That worked. Is there something wrong regarding the flake approach?
Note that the next one:
$ nix profile install github:cachix/devenv/v0.3
worked fine.
No idea. Does it still fail if you try again?
cebaa
November 22, 2022, 2:59pm
5
Yeah, fails with the same error message:
$ cachix -V
cachix 1.0.1
$ nix profile install nixpkgs#cachix
error: don't know how to recreate store derivation '/nix/store/k6vcmg6czqf6ipkqbpmdymzc61m0v77x-cachix-1.0.1.drv'!