LnL7 / nix-darwin

nix modules for darwin
MIT License
3.19k stars 457 forks source link

vscode-extensions not found on share directory #930

Closed alienman5k closed 7 months ago

alienman5k commented 7 months ago

I recently moved from just using Home Manager to Nix Darwin with flakes. And just found this issue.

In Home Manager vscode-extensions like vscode-java-debug and vscjava.vscode-java-test are put in the .nix-profile location, i.e ~/.nix-profile/share/vscode/extensions/vscjava.vscode-java-debug/

I wonder why this is not the same when using Nix Darwin, I was expecting this to be in either (or both), but this is not the case. /run/current-system/sw/share/ /etc/profiles/per-user/{username}/share/

I am not sure if the issue is with Nix Darwin or if I should report it to the maintainer of the extension instead.

alienman5k commented 7 months ago

Nevermind, it took me sometime but I found where this is set now. ~/.local/state/nix/profiles/home-manager/home-path/share/vscode/extensions