github-copilot-cli: 0.0.415 -> 0.0.420; disable auto update

This commit is contained in:
Danny Breyfogle
2026-03-02 13:58:04 -07:00
parent f5b2453089
commit 8deb04521a
2 changed files with 16 additions and 7 deletions
+11 -2
View File
@@ -3,6 +3,7 @@
stdenv,
autoPatchelfHook,
fetchurl,
makeBinaryWrapper,
versionCheckHook,
}:
@@ -21,7 +22,10 @@ stdenv.mkDerivation (finalAttrs: {
inherit (srcConfig) hash;
};
nativeBuildInputs = lib.optionals stdenv.hostPlatform.isLinux [ autoPatchelfHook ];
nativeBuildInputs = [
makeBinaryWrapper
]
++ lib.optionals stdenv.hostPlatform.isLinux [ autoPatchelfHook ];
buildInputs = lib.optionals stdenv.hostPlatform.isLinux [ stdenv.cc.cc.lib ];
sourceRoot = ".";
dontStrip = true;
@@ -32,8 +36,13 @@ stdenv.mkDerivation (finalAttrs: {
runHook postInstall
'';
postInstall = ''
wrapProgram $out/bin/copilot \
--add-flags "--no-auto-update"
'';
nativeInstallCheckInputs = [ versionCheckHook ];
doInstallCheck = true;
doInstallCheck = !stdenv.hostPlatform.isDarwin; # skip on Darwin - OpenSSL errors in sandbox
passthru.updateScript = ./update.sh;
@@ -1,19 +1,19 @@
{
"version": "0.0.415",
"version": "0.0.420",
"x86_64-linux": {
"name": "copilot-linux-x64",
"hash": "sha256-+gE7cZ3C8Ka5oHGu9d6F9dX1MmRBX06zo+XNPqwyGko="
"hash": "sha256-NE+J7h5hnJ/8sHI4G35TwvMFBTAItVWE3FhG0APBZ7k="
},
"aarch64-linux": {
"name": "copilot-linux-arm64",
"hash": "sha256-uIkm0kPOhyxEQ4lBB7G+a4fQnz5v7AMysAMsWqYrp2c="
"hash": "sha256-YK/rz0dkTbHO3Uu+K+n8GOb/tLw5T1cKeJa3qP2In2M="
},
"x86_64-darwin": {
"name": "copilot-darwin-x64",
"hash": "sha256-jdfS1PknqBxwi814EVQEuGx96htMSF4OETYaClUgnnI="
"hash": "sha256-zUfh1Sh/ckvgWs/YVkpGKL9vYi3egVb4smnhZBQJmJs="
},
"aarch64-darwin": {
"name": "copilot-darwin-arm64",
"hash": "sha256-/uZiVmrMZ5Ox6VnUs7HwSE/dFRwMAWRRhXzCB0hW0jI="
"hash": "sha256-ghYxLSZjKeoLFEDMLmhcZraiaXfPo9ArA4jWBR8/tqs="
}
}