nix-community / nixd

Nix language server, based on nix libraries [maintainer=@inclyc,@Aleksanaa]
https://github.com/nix-community/nixd
GNU Lesser General Public License v3.0
923 stars 31 forks source link

Command ~/.flox/run/aarch64-darwin.default/bin/nixd not found in $PATH (but it's there) #588

Closed nikitavoloboev closed 3 months ago

nikitavoloboev commented 3 months ago

Describe the bug

which nixd
/Users/nikiv/.flox/run/aarch64-darwin.default/bin/nixd

But when i try use it I get:

image
  "nix.enableLanguageServer": true,
  "nix.serverPath": "~/.flox/run/aarch64-darwin.default/bin/nixd",
  "nix.formatterPath": "~/.flox/run/aarch64-darwin.default/bin/nixfmt",

are my vscode settings.

inclyc commented 3 months ago

I think this is duplicated to https://github.com/nix-community/vscode-nix-ide/issues/414. And looks like you have resolved it.