In my home.nix
, I have a pattern like the below. I’d like to be able to update all extensions to the latest version with minimal hassle. Right now I (1) go to https://marketplace.visualstudio.com/ (2) search package (3) copy new version number and replace last three chars in hash with 000
(4) home-manager switch
(5) copy new wanted SHA (6) repeat 4 & 5 for each package. Anyone have a better workflow? This is painfully slow and laborious. update-nix-fetchgit but not sure it’ll work with extensionsFromVscodeMarketplace
.
programs.vscode = {
enable = true;
extensions = (with pkgs.vscode-extensions; [
bbenoist.Nix
ms-python.python
ms-azuretools.vscode-docker
]) ++ pkgs.vscode-utils.extensionsFromVscodeMarketplace
# https://marketplace.visualstudio.com/
[
{
name = "language-purescript";
publisher = "nwolverson";
version = "0.2.1";
sha256 = "18n35wp55c6k1yr2yrgg2qjmzk0vhz65bygfdk0z2p19pa4qhxzs";
}
{
name = "ide-purescript";
publisher = "nwolverson";
version = "0.20.8";
sha256 = "16avxmb1191l641r6pd99lw2cgq8gdfipb9n7d0czx1g9vfjr3ip";
}
{
name = "bracket-pair-colorizer-2";
publisher = "CoenraadS";
version = "0.0.25";
sha256 = "1v57g9symyqidcsj1cqy43ahi00aw1glbrksh8zd42nsk36cr1yc";
}
[...]