fail to start VSCode Remote (Node) when using nushell
117503445 opened this issue · comments
HaoTian Qi commented
nushellis a modern terminal written in Rust.
When the user enables nushell, the Node for VSCode Remote cannot start. However, VSCode Remote's Node can start when the user enables zsh.
users.users."root" = {
shell = pkgs.nushell;
};
cannot execute /root/.vscode-server/bin/6c3e3dba23e8fadc360aed75ce363ba185c497944/node
You are trying to run an unpatched binary on nixos, but you have not configured NIX_LD or NIX_LD_x86_64-linux. See https://github.com/Mic92/nix-ld for more details
I think it may be due to environment variables.
Jörg Thalheim commented
Nushell needs to either source /etc/set-environment or /etc/profile for this to work.
Jörg Thalheim commented
This is an issue of the nushell integration in nixos and not nix-ld.