Using versionCheckHook Running phase: unpackPhase unpacking source archive /nix/store/yd2b7paxzkklbaz4lkhczqdjhvmp69hf-source source root is source Running phase: patchPhase applying patch /nix/store/2884mld2sj9pmkrxknvb0x5m5kb3vzaa-cliproxyapi-claude-ratelimit-headers.patch patching file internal/runtime/executor/claude_executor_request.go Hunk #1 succeeded at 782 (offset -5 lines). Hunk #2 succeeded at 834 (offset -5 lines). patching file sdk/cliproxy/auth/selector.go patching file sdk/cliproxy/auth/quota_signals.go patching file sdk/cliproxy/auth/conductor_execution.go Hunk #1 succeeded at 169 (offset 3 lines). Hunk #2 succeeded at 311 (offset 7 lines). patching file sdk/api/handlers/claude/code_handlers.go applying patch /nix/store/4xhifv4ir9k3m8swckrkxcc4dml64h3y-cliproxyapi-ratelimit-reset-grace.patch patching file sdk/api/handlers/claude/code_handlers.go Hunk #1 succeeded at 625 (offset 5 lines). patching file sdk/api/handlers/claude/code_handlers_error_test.go patching file sdk/api/handlers/handlers_error_response_test.go patching file sdk/api/handlers/handlers_errors.go Hunk #1 succeeded at 144 (offset 5 lines). Hunk #2 succeeded at 181 (offset 5 lines). patching file sdk/api/handlers/ratelimit_reset_grace.go patching file sdk/api/handlers/retry_deadline_test.go Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase Running phase: buildPhase Building subPackage ./cmd/server buildPhase completed in 55 seconds Running phase: checkPhase ok github.com/router-for-me/CLIProxyAPI/v8/cmd/server 0.203s checkPhase completed in 54 seconds Running phase: installPhase Running phase: fixupPhase shrinking RPATHs of ELF executables and libraries in /nix/store/m4zj58rpr7ss4kjryd4a06wshxnlikr8-cliproxyapi-8.0.48 shrinking /nix/store/m4zj58rpr7ss4kjryd4a06wshxnlikr8-cliproxyapi-8.0.48/bin/cliproxyapi checking for references to /build/ in /nix/store/m4zj58rpr7ss4kjryd4a06wshxnlikr8-cliproxyapi-8.0.48... patching script interpreter paths in /nix/store/m4zj58rpr7ss4kjryd4a06wshxnlikr8-cliproxyapi-8.0.48 stripping (with command strip and flags -S -p) in /nix/store/m4zj58rpr7ss4kjryd4a06wshxnlikr8-cliproxyapi-8.0.48/bin Running phase: installCheckPhase Executing versionCheckPhase Successfully managed to find version 8.0.48 in the output of the command /nix/store/m4zj58rpr7ss4kjryd4a06wshxnlikr8-cliproxyapi-8.0.48/bin/cliproxyapi --version CLIProxyAPI Version: 8.0.48, Commit: v8.0.48, BuiltAt: 1970-01-01 flag provided but not defined: -version Usage of cliproxyapi -antigravity-login Login to Antigravity using OAuth -claude-login Login to Claude using OAuth -codex-device-login Login to Codex using device code flow -codex-login Login to Codex using OAuth -config string Configure File Path -devin-login Login to Devin using OAuth -discover Discover local AI gateways and CPA instances on the LAN -discover-exclude value Comma-separated interface names to skip during LAN discovery -discover-include value Comma-separated interface names to scan during LAN discovery -discover-json Output discovered gateways in JSON format -discover-service-type string DNS-SD service type for LAN discovery (default _ai-gateway._tcp) -discover-timeout int Timeout in seconds for LAN discovery (default 3s) (default 3) -home-disable-cluster-discovery Disable Home CLUSTER NODES discovery and keep using the configured -home-jwt address -home-jwt string Home control plane JWT for mTLS certificate bootstrap and connection -kimi-ai-login Login to Kimi.ai using OAuth -kimi-login Login to Kimi (.com) using OAuth -local-model Use embedded model catalogs unless models.catalog, models.codex-catalog, or models.devin-catalog explicitly overrides the source -management-base-url string Base URL of remote management API for TUI client mode (e.g. https://proxy.example.com) -meta-login Login to Meta using OAuth -no-browser Don't open browser automatically for OAuth -oauth-callback-port int Override OAuth callback port (defaults to provider-specific port) -siwc-bind string Bind Sign in with ChatGPT (SIWC) credentials to a Codex credential file -standalone In TUI mode, start an embedded local server -tui Start with terminal management UI -vertex-import string Import Vertex service account key JSON file -vertex-import-prefix string Prefix for Vertex model namespacing (use with -vertex-import) -xai-login Login to xAI using OAuth Finished versionCheckPhase no Makefile or custom installCheckPhase, doing nothing