Mic92 / nix-ld

Run unpatched dynamic binaries on NixOS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fail to start VSCode Remote (Node) when using nushell

117503445 opened this issue · comments

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.

Nushell needs to either source /etc/set-environment or /etc/profile for this to work.

This is an issue of the nushell integration in nixos and not nix-ld.