zefhemel / nixops-mac-setup

Script to easily setup Nix and NixOps for use on Mac
22 stars 6 forks source link

Nix-channel update needs to be run or suggested to run #2

Open mastrolinux opened 10 years ago

mastrolinux commented 10 years ago

To avoid the error:

$ nix-env -I nixops -i nixops
error: getting information about `/Users/username/.nix-defexpr': No such file or directory

The install script should run:

$ nix-channel --update
maatthc commented 9 years ago

You also need to update to the version 1.8 of Nix, so the install-nix.sh should use: curl http://hydra.nixos.org/build/17897581/download/1/nix-1.8-x86_64-darwin.tar.bz2 | sudo tar xjf -

maatthc commented 9 years ago

And include the install:

./nix-1.8-x86_64-darwin/install