From a30807262e2a6b79090d9f03cd4d7192eabf08e3 Mon Sep 17 00:00:00 2001 From: sommerfeld Date: Wed, 20 May 2026 13:56:11 +0100 Subject: nix: re-add github-copilot-cli (now prebuilt-binary derivation) Upstream rewrote the derivation in 1.0.43+ to fetch a prebuilt binary from the copilot-cli releases (autoPatchelf + makeBinaryWrapper) instead of buildNpmPackage, sidestepping the /var/empty/.cache EACCES that blocked 1.0.40. --- nix/common.nix | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/nix/common.nix b/nix/common.nix index f5ee5bc..7f1fa5a 100644 --- a/nix/common.nix +++ b/nix/common.nix @@ -128,11 +128,7 @@ # AI coding agents claude-code codex # OpenAI Codex CLI (rust rewrite); replaces pacman openai-codex-bin - # 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. + github-copilot-cli # `copilot`; prebuilt-binary derivation since 1.0.43 # ── LSPs / formatters / linters / DAPs ───────────────────────────────── # Replaces Mason entirely (phase p6 of the nix migration rips out -- cgit v1.3.1