diff options
| author | 2026-05-20 13:56:10 +0100 | |
|---|---|---|
| committer | 2026-05-20 13:56:10 +0100 | |
| commit | 3bc07df183cba19a9824ccf074041347a8bd1490 (patch) | |
| tree | b4ff47325f24aa65c5849e51f4b3ed4d17586b8b /nix | |
| parent | 40d8fd056bef4526acbe38a9b6ff98fc0c3fd8c9 (diff) | |
| download | dotfiles-3bc07df183cba19a9824ccf074041347a8bd1490.tar.gz dotfiles-3bc07df183cba19a9824ccf074041347a8bd1490.tar.bz2 dotfiles-3bc07df183cba19a9824ccf074041347a8bd1490.zip | |
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).
Diffstat (limited to 'nix')
| -rw-r--r-- | nix/common.nix | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/nix/common.nix b/nix/common.nix index 55e2d21..217d335 100644 --- a/nix/common.nix +++ b/nix/common.nix @@ -128,7 +128,11 @@ in # AI coding agents claude-code - github-copilot-cli # NB: pkgs.copilot-cli is AWS Copilot, NOT this + # github-copilot-cli intentionally not here: nixpkgs derivation (as + # of 1.0.40) fails to build on Determinate nix with EACCES on + # /var/empty/.cache (HOME not redirected during npm postinstall). + # Install manually from https://github.com/github/copilot-cli into + # /usr/local/bin/ instead. # ── LSPs / formatters / linters / DAPs ───────────────────────────────── # Replaces Mason entirely (phase p6 of the nix migration rips out @@ -158,14 +162,13 @@ in # Formatters mdformat - nodePackages.prettier + prettier shfmt stylua # Linters codespell hadolint - nodePackages.jsonlint markdownlint-cli selene shellcheck |
