From dde35a14510df836f1fdfe9c9d575f218c251dbf Mon Sep 17 00:00:00 2001 From: Joseph Hanson Date: Wed, 18 Sep 2024 21:55:27 -0500 Subject: [PATCH] move python extension to manual build. --- nixos/modules/nixos/editor/vscode.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/nixos/modules/nixos/editor/vscode.nix b/nixos/modules/nixos/editor/vscode.nix index 1067fe7..c24c73d 100644 --- a/nixos/modules/nixos/editor/vscode.nix +++ b/nixos/modules/nixos/editor/vscode.nix @@ -18,7 +18,7 @@ let "mikestead.dotenv" "mrmlnc.vscode-json5" "ms-azuretools.vscode-docker" - "ms-python.python" # Python extensions *required* for redhat.ansible/vscode-yaml + # "ms-python.python" # Python extensions *required* for redhat.ansible/vscode-yaml "ms-python.vscode-pylance" "ms-vscode-remote.remote-ssh-edit" "pkief.material-icon-theme" @@ -62,6 +62,13 @@ let sha256 = "sha256-/tyyjf3fquUmjdEX7Gyt3MChzn1qMbijyej8Lskt6So="; } + { + # Same issue as the above -- auto pulling nightly builds not compatible with vscode stable. + name = "python"; + publisher = "ms-python"; + version = "2024.14.1"; + sha256 = "sha256-NhE3xATR4D6aAqIT/hToZ/qzMvZxjTmpTyDoIrdvuTE="; + } ]; # Extract extension strings and coerce them to a list of valid attribute paths. vscodeCommunityExtensionsPackages = map (ext: getAttrFromPath (splitString "." ext) pkgs.vscode-marketplace) vscodeCommunityExtensions;