nix-community / vscode-nix-ide

Nix language support for VSCode editor [maintainer: @jnoortheen]
https://marketplace.visualstudio.com/items?itemName=jnoortheen.nix-ide
MIT License
273 stars 20 forks source link

Command nil not found in $PATH #349

Closed shd101wyy closed 1 year ago

shd101wyy commented 1 year ago

I have installed nil and added it to the $PATH. But the vscode Nix IDE extension still shows Command nil not found in $PATH.

I also checked the integrated terminal in vscode and it shows the nil in the PATH:

image

Any suggestions here? Below is my settings:

  "nix.enableLanguageServer": true,
  "nix.serverPath": "nil",
  "nix.formatterPath": "nixpkgs-fmt",

Thank you!

shd101wyy commented 1 year ago

I changed to another machine and it's working. The one that doesn't work happened on vscode installed from Flatpak.

So I would assume the problem is not related to this extension.

Thank you