Visual-Studio-Code - found noncompiling culprit in ms-vscode.cpptools

This commit is contained in:
Olaf Kolkman 2025-05-28 13:50:14 +02:00
parent 93739cb304
commit a9d56b5eba
4 changed files with 42 additions and 3 deletions

View File

@ -37,7 +37,9 @@
url = "github:Mic92/sops-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
nix-vscode-extensions = {
url = "github:nix-community/nix-vscode-extensions";
};
};
outputs =
{
@ -52,6 +54,7 @@
disko,
nixd,
sops-nix,
nix-vscode-extensions,
}@inputs:
let

View File

@ -6,7 +6,7 @@ _:
"iterm2"
"oracle-jdk"
"arduino-ide"
"visual-studio-code"
# Creatative tools
"spotify"
"blender"

View File

@ -111,7 +111,7 @@ in
path = "/Applications/Jellyfin Media Player.app/";
options = "-l Jellyfin";
}
{ path = "/Applications/Visual Studio Code.app/"; }
{ path = "/run/current-system/Applications/Visual Studio Code.app/"; }
{ path = "/Applications/Home Assistant.app/"; }
{ path = "/Applications/reMarkable.app/"; }
{ path = "/Applications/LibreOffice.app/"; }

View File

@ -83,6 +83,42 @@ with pkgs;
rustc
cargo
# vscode see https://nixos.wiki/wiki/Visual_Studio_Code
(vscode-with-extensions.override {
vscodeExtensions =
with vscode-extensions;
[
#bbenoist.nix
jnoortheen.nix-ide
ms-python.python
ms-azuretools.vscode-docker
# ms-vscode-remote.remote-ssh
# ms-vscode.cpptools
eamodio.gitlens
]
++ pkgs.vscode-utils.extensionsFromVscodeMarketplace [
# {
# name = "remote-ssh-edit";
# publisher = "ms-vscode-remote";
# version = "0.47.2";
# sha256 = "1hp6gjh4xp2m1xlm1jsdzxw9d8frkiidhph6nvl24d0h8z34w49g";
# }
{
name = "cpptools";
publisher = "ms-vscode";
version = "1.26.1";
sha256 = "sha256-uVE7sEO8XN3ArFpElUw25/BKyCOzF1EmZ5nHBkdoL/0=";
}
{
name = "platformio-ide";
publisher = "platformio";
version = "3.3.4";
sha256 = "sha256-qfNz4IYjCmCMFLtAkbGTW5xnsVT8iDnFWjrgkmr2Slk=";
}
];
})
# Tex and LaTex
pandoc
mdbook