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

NIXOS_VERSION variable not correct #10

Open
Antares0982 opened this issue Dec 8, 2024 · 0 comments
Open

NIXOS_VERSION variable not correct #10

Antares0982 opened this issue Dec 8, 2024 · 0 comments

Comments

@Antares0982
Copy link

First, thanks for your script!

I found a problem when setting up vscode using latest NixOS-WSL:

[nixos@nixos:~/.vscode-server]$ nixos-version | cut -d "." -f1,2
24.05pre-git (Uakari)

[nixos@nixos:~/.vscode-server]$ nixos-version
24.05pre-git (Uakari)

This causes the PKGS_EXPRESSION variable evaluates to an unexpected value

PKGS_EXPRESSION=nixpkgs/nixos-24.05pre-git (Uakari)#pkgs

And the setup fails. Specifying PKGS_EXPRESSION manually can solve this.

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