nix-env-selector
nix-env-selector copied to clipboard
[Feature]: VSCode-Remote (SSH) support?
Is your feature request related to a problem? Please describe. When working remotely over VScode Remote (SSH — a Linux box — not WSL), this extension doesn't appear to have any effect. The pop-up that a Nix environment has been detected works; but clicking the "Select" button does … nothing; the window doesn't reload, the environment doesn't appear affected.
Describe the solution you'd like I'd like to be able to use VSCode-OCaml-Platform etc with Nix environments that are on remote vscode-ssh servers! (=
Not exactly nothing. I get a spinning "Applying environment…" in the bottom window, but it seemingly makes no progress.
@ELLIOTTCABLE Are you selecting flake.nix
or shell.nix
?
I tried selecting both default.nix
and flake.nix
and it is stuck on Applying environment as well
Same behavior here, so I lsof
'd the agent and found there is an agent log under ~/.vscode-server/data/logs/{TIKMESTAMP}/remoteagent.log
2023-06-28 19:48:56.745 [info] [127.0.0.1][25cadbd5][ExtensionHostConnection] <62108><stderr> error: nix-shell requires a single derivation
But I'm choosing flake.nix, are flakes not supported? or is there a configuration toggle to switch to nix develop
?
same problem here
Works remotely for me, but I haven't found the right combo to properly apply it. Clicking "reload" on the popup does nothing and reloading manually doesn't always / ever apply the change. It does eventually work.