mirror of
https://github.com/nix-community/home-manager
synced 2024-11-27 05:29:46 +01:00
vscode-haskell: migrate over to profiles
Signed-off-by: Reputable2722 <153411261+Reputable2772@users.noreply.github.com>
This commit is contained in:
parent
a3c79143c5
commit
25eadbb0b8
1 changed files with 2 additions and 2 deletions
|
@ -52,12 +52,12 @@ in {
|
|||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
programs.vscode.userSettings = mkIf cfg.hie.enable {
|
||||
programs.vscode.defaultProfile.userSettings = mkIf cfg.hie.enable {
|
||||
"languageServerHaskell.enableHIE" = true;
|
||||
"languageServerHaskell.hieExecutablePath" = cfg.hie.executablePath;
|
||||
};
|
||||
|
||||
programs.vscode.extensions =
|
||||
programs.vscode.defaultProfile.extensions =
|
||||
[ pkgs.vscode-extensions.justusadam.language-haskell ]
|
||||
++ lib.optional cfg.hie.enable
|
||||
pkgs.vscode-extensions.alanz.vscode-hie-server;
|
||||
|
|
Loading…
Reference in a new issue