-
-
Notifications
You must be signed in to change notification settings - Fork 129
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
nixos-rebuild fails after import due to clap_lex requiring rust >= 1.70.0 #351
Comments
On main it is expected that you update to 23.11, otherwise use https://github.com/nix-community/NixOS-WSL/releases/tag/23.5.5.2 |
I'm sorry but what you said makes zero sense to me as a Nix newbie. I followed the instructions in the readme, they ended in error. Thus the bug report as either the instructions are wrong or something is broken. |
I'll just drop it here in case it helps anyone just starting with Nix, here's how one can update the channel to 23.11: sudo nix-channel --add https://nixos.org/channels/nixos-23.11 nixos
sudo nix-channel --update
sudo nixos-rebuild switch |
It should be mentioned in the README |
did so in #357 |
@SuperSandro2000 I think the problem is also that the latest tag (23.5.5.2, the file I downloaded), points to the main branch instead of the 23.5.5.2 itself. Thus the breakage and confusing. |
hmmm, maybe we can fix this when we offer proper channels but until then main is for nixos-unstable :) |
Bug description
After a fresh import of 23.5.5.2 nixos-wsl.tar.gz, the nixos-rebuild switch fails with the error below (Logs section).
To Reproduce
Steps to reproduce the behavior:
wsl --import NixOS .\NixOS\ nixos-wsl.tar.gz --version 2
wsl -d NixOS
sudo nix-channel --update
sudo nixos-rebuild switch
Expected behavior
No errors.
Logs
The text was updated successfully, but these errors were encountered: