From 0c7b0c9d7dbb8193fc8e1089c51941e385abd933 Mon Sep 17 00:00:00 2001 From: Tom van der Lee Date: Mon, 21 Sep 2026 14:22:38 +0200 Subject: Provision nodejs/python3/unzip for mason.nvim installers mason.nvim (externally-managed Neovim dotfiles config) was failing to install several LSP servers and tools because npm, python3, and unzip weren't on PATH in the Home Manager profile. Co-Authored-By: Claude Sonnet 5 Claude-Session: https://claude.ai/code/session_01BBSd4VBfoKHjE1HR3P8kmn --- openspec/changes/fix-mason-installer-deps/tasks.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 openspec/changes/fix-mason-installer-deps/tasks.md (limited to 'openspec/changes/fix-mason-installer-deps/tasks.md') diff --git a/openspec/changes/fix-mason-installer-deps/tasks.md b/openspec/changes/fix-mason-installer-deps/tasks.md new file mode 100644 index 0000000..2d2d259 --- /dev/null +++ b/openspec/changes/fix-mason-installer-deps/tasks.md @@ -0,0 +1,20 @@ +## 1. Provision editor toolchain packages + +- [x] 1.1 In `modules/home/editor.nix`, add `nodejs`, `python3`, and `unzip` to the + existing `home.packages` list (alongside `tree-sitter`/`stdenv.cc`), with a + short comment noting they're required by `mason.nvim`'s installers; verify by + reading the file back and confirming the three entries are present. +- [ ] 1.2 Verify the flake still evaluates: run `nix flake check` and confirm it + succeeds. + +## 2. Verify Mason installs succeed + +- [ ] 2.1 Apply the profile on an affected host (`home-manager switch --flake + .#tom@linux` or `.#tom@darwin`, whichever is reachable) and confirm the + activation completes without error. +- [ ] 2.2 In Neovim, delete `~/.local/state/nvim/mason.log` (or run `:MasonUninstallAll` + then reinstall), trigger installation of the previously-failing packages + (`pyright`, `bash-language-server`, `debugpy`, `terraform-ls`, + `yaml-language-server`, `typescript-language-server`, `css-lsp`, `html-lsp`), + and confirm `:Mason` reports them all installed with no `npm`/`python3`/`unzip` + "could not find executable" errors in the new log. -- cgit v1.3