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

How to update nix to v2.4+? #37

Closed
Cornelius-Figgle opened this issue Jul 14, 2023 · 1 comment
Closed

How to update nix to v2.4+? #37

Cornelius-Figgle opened this issue Jul 14, 2023 · 1 comment

Comments

@Cornelius-Figgle
Copy link

The README says to be using nix version 2.4, but I am on 2.13.3

Make sure you're running Nix 2.4+, and opt into the experimental flakes and nix-command features:

# Should be 2.4+
nix --version
export NIX_CONFIG="experimental-features = nix-command flakes"

How do I upgrade this? Does it matter? I added nix.settings.experimental-features = [ "nix-command" "flakes" ]; to my configuration.nix and ran sudo nixos-rebuild switch --upgrade-all, but my system still returns v2.13.3 (from nix --version)

I know this probably isn't the right place but I couldn't find any information about it online

Using NixOs v23.05, blank install from GUI ISO

@Cornelius-Figgle
Copy link
Author

Just realised that 2.13 is a higher version than 2.4

oops

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