From 1610719c40d4d4aa3063ec3f04f7c14736d6059c Mon Sep 17 00:00:00 2001 From: Aaron Nall Date: Tue, 3 Mar 2026 01:08:54 -0500 Subject: [PATCH] fix: add meta.mainProgram so nix run works nix run falls back to looking for a binary matching pname (github-copilot-cli), but the package only installs a "copilot" binary. Setting mainProgram tells nix run which binary to execute. Co-Authored-By: Claude Opus 4.6 --- package.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/package.nix b/package.nix index 6fe0038..e80c40b 100644 --- a/package.nix +++ b/package.nix @@ -35,5 +35,6 @@ stdenv.mkDerivation rec { meta = { description = "Github Copilot CLI"; homepage = "https://github.com"; + mainProgram = "copilot"; }; }