handle vscode nix extension rename

This commit is contained in:
Sean Buckley 2021-09-08 12:12:07 -04:00
parent a05bdb3ee2
commit f82377e375

View file

@ -43,7 +43,8 @@ in
(vscode-with-extensions.override {
vscode = vscodium;
vscodeExtensions = with pkgs.vscode-extensions; [
bbenoist.Nix
# package was renamed from "Nix" to "nix" between 21.05 and 21.11
(if (builtins.elem "nix" (builtins.attrNames bbenoist)) then bbenoist.nix else bbenoist.Nix)
ms-python.python
ms-vscode.cpptools
ms-azuretools.vscode-docker