openvscode-server
openvscode-server copied to clipboard
Extensions possibly don't inherit PATH/environment correctly?
Does this issue occur when all extensions are disabled?: n/a
- VS Code Version: Version: 1.84.0
- OS Version: nixos linux 6.6.8
Steps to Reproduce:
- use openvscode-server with systemd
- use
nix-environment-selectorand select ashell.nixthat includesrust-analyzer - note that rust-analyzer can't find the binary, even if you tell it to look for
rust-analyzer(aka in PATH)
this works in desktop vscodium.
Oh, I left out the most interesting part, terminals launched after restarting seem to have inherited PATH though. I don't have rust-analyzer installed system wide, yet I can use it in a OVSCS Terminal after using nix-env-selector.
I suspect this may have to do with how systemd is running/managing the process, since I'm running it as a service. When I run it by hand from the command line, things seem to work as expected.