From 3bc07df183cba19a9824ccf074041347a8bd1490 Mon Sep 17 00:00:00 2001 From: sommerfeld Date: Wed, 20 May 2026 13:56:10 +0100 Subject: fix(nix,nvim): drop nodePackages.* (removed from nixpkgs), drop github-copilot-cli (broken) nodePackages was removed wholesale from nixpkgs; everything that lived under it must be referenced via its top-level name or dropped. - prettier: moved nodePackages.prettier -> prettier (top-level alias). - jsonlint: not available at top level. Dropped from nix/common.nix AND from the nvim-lint and conform-nvim configs in dot_config/nvim/lua/plugins/lsp.lua. jsonls already provides schema-aware diagnostics; jq still handles formatting. The jsonlint redundancy is acceptable to lose. - github-copilot-cli (1.0.40 in nixpkgs): buildNpmPackage derivation doesn't redirect HOME during npm postinstall, so it fails with EACCES on /var/empty/.cache on Determinate nix. Removed; install manually from https://github.com/github/copilot-cli into /usr/local/bin/ as before (current host already has it there). --- dot_config/nvim/lua/plugins/lsp.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'dot_config') diff --git a/dot_config/nvim/lua/plugins/lsp.lua b/dot_config/nvim/lua/plugins/lsp.lua index 98f0f66..51c8a2d 100644 --- a/dot_config/nvim/lua/plugins/lsp.lua +++ b/dot_config/nvim/lua/plugins/lsp.lua @@ -160,7 +160,7 @@ require("conform").setup({ html = { "prettier" }, javascript = { "prettier" }, typescript = { "prettier" }, - json = { "jq", "jsonlint" }, + json = { "jq" }, jsonc = { "prettier" }, just = { "just" }, markdown = { "mdformat" }, @@ -191,7 +191,6 @@ local lint = require("lint") lint.linters_by_ft = { css = { "stylelint" }, dockerfile = { "hadolint" }, - json = { "jsonlint" }, markdown = { "markdownlint" }, makefile = { "checkmake" }, yaml = { "yamllint", "yq" }, -- cgit v1.3.1