mirror of
https://github.com/nix-community/home-manager
synced 2025-01-30 12:55:02 +01:00
vscode: fix extensions dir path
On macOS, vscode-insiders (via pkgs.vscode.override { isInsiders = true; }) reads extension configuration from (and write to) .vscode/extensions/extensions.json, not under the .vscode-insiders folder. This commit affects only macOS since the author doesn't know and has no device to test the behaviour on other platform like linux.
This commit is contained in:
parent
2532b500c3
commit
d554f9f1e1
1 changed files with 2 additions and 1 deletions
|
@ -20,7 +20,8 @@ let
|
|||
|
||||
extensionDir = {
|
||||
"vscode" = "vscode";
|
||||
"vscode-insiders" = "vscode-insiders";
|
||||
"vscode-insiders" =
|
||||
if pkgs.stdenv.hostPlatform.isDarwin then "vscode" else "vscode-insiders";
|
||||
"vscodium" = "vscode-oss";
|
||||
"openvscode-server" = "openvscode-server";
|
||||
}.${vscodePname};
|
||||
|
|
Loading…
Add table
Reference in a new issue