Dev tools install fails during cachix install

Howdy, I’m blocked on installing dev tools with the documented flag for getting cachix going…

'nix run -f https://cachix.org/api/v1/install cachix -c cachix use holodevchain-ci

Wherever “-c” is supposed to be consumed – nix run? cachix? – it’s not valid:

error: unrecognised flag '-c'
Try 'nix --help' for more information.

I’ve found no reference to that option in the nix docs nor in the cachix docs.

$ uname -a; nix --version
Linux holochain-node0 5.13.0-28-generic #31-Ubuntu SMP Thu Jan 13 17:41:06 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
nix (Nix) 2.6.1

Any guidence greatly appreciated. I guess for now I will just skip cachix.

hey :wave:

please try this command instead:

nix-shell -I nixpkgs=https://github.com/NixOS/nixpkgs/archive/nixos-21.11.tar.gz -p cachix --run “cachix use holochain-ci”

cc @jost.schulte maybe we can just merge the updated and simplified installation merged as they are since the current docs are causing real-world issues

1 Like

Hi. Just confirming, for posterity, that this command did resolve the issue.

Done @steveeJ =)

Thank you share this installation code.

MyBalanceNow