-
-
Notifications
You must be signed in to change notification settings - Fork 81
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
Cannot connect to WSL instance #71
Comments
Also struggling with this one too. |
Having the same issue. Adding |
Try this (add to system configuration): { lib, pkgs, ... }: {
wsl.extraBin = [
{ src = lib.getExe' pkgs.coreutils "uname"; }
];
} |
Thanks @Prince213. Adding the following (and installing wget) worked for me:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am unfortunately unable to connect to nixos from vs code. The setup works fine. the service gets created and I use systemctl to start it. However when starting
code
from within wsl or connecting from VSCode from my Host machine it errors with the followingNow what I found is that when connecting to the wsl instance in a shell first
everything works fine
However when running the same command directly from the host machine
it will error out with uname not being found just like in the VSCode instance. This might also be related to this issue on NIXOS-WSL nix-community/NixOS-WSL#222
I know wsl support is still a wip in this project but it seems like people have been able to make it work. It would be great if someone had the knowledge what I can do to connect.
The text was updated successfully, but these errors were encountered: