Holochain Forum

Issues Installing Nix

I am following the steps to install nix, but am getting hung up on the same step. After completing the Nix installation with

Sudo install -d -m755 -o $(id -u) -g $(id -g) /nix
Curl -L https://nixos.org/nix/install | sh

I then reboot my computer, and attempt to move on to the next step of

Nix-shell --argstr flavor happDev

When I attempt that step, I receive the error “getting status of ‘/home/cricket/default.nix’: no such file or directory”

I have gone as far as completely uninstalling Nix and then reinstalling it, but am having the same issue. I am missing the default.nix file. Is there a workaround for this?

I am using a machine currently running Ubuntu.

You need to have default.nix file in your directory, and then run nix-shell. all configuration and required information are located inside this file.
you can download one stable version from this link:

2 Likes

Thank you so much for your help, this resolved the issue.

1 Like