Unrecognised flag '--extra-experimental-features'

Hi Team,
Trying to install Holochain on my Macbook, but having an issue at the very step described here : Get Started Developing with Holochain
See the error message I got

========================
hubject@MacBook-Pro-de-Bernard ~ % bash <(curl https://holochain.github.io/holochain/setup.sh)
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1605 100 1605 0 0 9303 0 --:–:-- --:–:-- --:–:-- 9668
Setting up binary cache for all users (requires root access)
sudo --preserve-env=NIX_CONFIG,PATH /Users/hubject/.nix-profile/bin/nix run nixpkgs/nixos-22.11#cachix --extra-experimental-features nix-command flakes – use holochain-ci -m root-nixconf
Password:
error: unrecognised flag ‘–extra-experimental-features’
Try ‘/Users/hubject/.nix-profile/bin/nix --help’ for more information.

hey, my guess is that you’ve got nix version installed that predates the --extra-experimental-features (and flakes for that matter), so something <2.4. please verify that with nix --version, and if so manually upgrade to a newer version. updating nix is documented upstream.

Hi Steeve,
I go this :

hubject@MacBook-Pro-de-Bernard ~ % nix --version
nix (Nix) 2.3.10

Then making the update, and got this

hubject@MacBook-Pro-de-Bernard ~ % nix --version
nix (Nix) 2.13.3

nice, that worked! now you’re ready to going through the developer docs you mentioned above, and let us know if it works this time

Yep, it works well now …
Thanks again !

2 Likes