Installing cachix fails

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

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?

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'!