1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-04 18:29:45 +01:00

vscode: correct base path from which to pull extensions

This commit is contained in:
Pasquale 2019-11-11 00:43:42 +01:00 committed by Robert Helgesson
parent 08094f3cc2
commit 595150be86
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -71,7 +71,10 @@ in
# Adapted from https://discourse.nixos.org/t/vscode-extensions-setup/1801/2 # Adapted from https://discourse.nixos.org/t/vscode-extensions-setup/1801/2
home.file = home.file =
let let
toPaths = p: toPaths = path:
let
p = "${path}/share/vscode/extensions";
in
# Links every dir in p to the extension path. # Links every dir in p to the extension path.
mapAttrsToList (k: v: mapAttrsToList (k: v:
{ {