Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating to a newer version of nix #1

Open
allforabit opened this issue Jan 22, 2018 · 0 comments
Open

Updating to a newer version of nix #1

allforabit opened this issue Jan 22, 2018 · 0 comments

Comments

@allforabit
Copy link

Hi, I am following the instructions from here and have successfully got Nix to build and install. I'm very excited to use Nix on windows! However when I attempt to install packages I get the following error:

$ nix-env --install nodejs
error: evaluation aborted with the following error message: ‘
This version of Nixpkgs requires Nix >= 1.11, please upgrade:

- If you are running NixOS, use `nixos-rebuild' to upgrade your system.

- If you installed Nix using the install script (https://nixos.org/nix/install),
  it is safe to upgrade by running it again:

      curl https://nixos.org/nix/install | sh
’
(use ‘--show-trace’ to show detailed location information)

Is there any straightforward way to upgrade the version that's installed using the scripts here? Apologies, I am very new to Nix so I may be missing something obvious. I'm also aware that this repo is quite out of date and may not be supported anymore. I'm surprised I've managed to get this far with it to be honest.

Thanks very much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant