these 3 derivations will be built: /nix/store/j83whbsj7pyq184l6b5jx77g7g5f3k3d-source.drv /nix/store/shlzj0vzxb12pcikr76vhvaav3wikvyq-claude-code-router-3.0.0-npm-deps.drv /nix/store/2pi71h75n4cm2y75fz99p81wq66phhc4-claude-code-router-3.0.0.drv building '/nix/store/1ravpfh1r0j0ifawra39x05c4x7p35cq-source.drv' on 'ssh-ng://customer@mac02.m.ntd.one' building '/nix/store/1ravpfh1r0j0ifawra39x05c4x7p35cq-source.drv' source> structuredAttrs is enabled source> source> trying https://github.com/musistudio/claude-code-router/archive/refs/tags/v3.0.0.tar.gz source> % Total % Received % Xferd Average Speed Time Time Time Current source> Dload Upload Total Spent Left Speed source> 0 0 0 0 0 0 0 0 0 source> 100 12.90M 0 12.90M 0 0 11.52M 0 00:01 0 source> unpacking source archive /nix/var/nix/builds/nix-39752-2834442173/download.tar.gz building '/nix/store/481nmzdalrjkwgkr2sjc93k3jimps023-claude-code-router-3.0.0-npm-deps.drv' on 'ssh-ng://customer@mac02.m.ntd.one' building '/nix/store/481nmzdalrjkwgkr2sjc93k3jimps023-claude-code-router-3.0.0-npm-deps.drv' claude-code-router-3.0.0-npm-deps> Running phase: unpackPhase claude-code-router-3.0.0-npm-deps> unpacking source archive /nix/store/087qwdkhriajp3m01nhm9p64q1b6vd0b-source claude-code-router-3.0.0-npm-deps> source root is source claude-code-router-3.0.0-npm-deps> Running phase: patchPhase claude-code-router-3.0.0-npm-deps> Running phase: updateAutotoolsGnuConfigScriptsPhase claude-code-router-3.0.0-npm-deps> Running phase: configurePhase claude-code-router-3.0.0-npm-deps> no configure script, doing nothing claude-code-router-3.0.0-npm-deps> Running phase: buildPhase claude-code-router-3.0.0-npm-deps> warning: 6 out of 643 packages (0.9%) are missing 'resolved' URLs and will not be cached. claude-code-router-3.0.0-npm-deps> warning: Packages without 'resolved' URLs: claude-code-router-3.0.0-npm-deps> warning: - @tailwindcss/oxide-wasm32-wasi/node_modules/tslib claude-code-router-3.0.0-npm-deps> warning: - @tailwindcss/oxide-wasm32-wasi/node_modules/@emnapi/core claude-code-router-3.0.0-npm-deps> warning: - @tailwindcss/oxide-wasm32-wasi/node_modules/@napi-rs/wasm-runtime claude-code-router-3.0.0-npm-deps> warning: - @tailwindcss/oxide-wasm32-wasi/node_modules/@emnapi/wasi-threads claude-code-router-3.0.0-npm-deps> warning: - @tailwindcss/oxide-wasm32-wasi/node_modules/@emnapi/runtime claude-code-router-3.0.0-npm-deps> warning: - @tailwindcss/oxide-wasm32-wasi/node_modules/@tybys/wasm-util claude-code-router-3.0.0-npm-deps> Running phase: fixupPhase claude-code-router-3.0.0-npm-deps> checking for references to /nix/var/nix/builds/nix-39885-1662375541/ in /nix/store/ygcj8mpb0jd132jh9ch5ffwq42c67z6z-claude-code-router-3.0.0-npm-deps... claude-code-router-3.0.0-npm-deps> /nix/store/cv1d7p48379km6a85h4zp6kr86brh32q-audit-tmpdir.sh: line 39: 39948 Broken pipe: 13 find "$dir" -type f -not -path '*/.build-id/*' -print0 claude-code-router-3.0.0-npm-deps> 39949 Segmentation fault: 11 | while IFS= read -r -d '' file; do claude-code-router-3.0.0-npm-deps> if isELF "$file"; then claude-code-router-3.0.0-npm-deps> printf '%s\0' "$file" 1>&3; claude-code-router-3.0.0-npm-deps> else claude-code-router-3.0.0-npm-deps> if isScript "$file"; then claude-code-router-3.0.0-npm-deps> filename=${file##*/}; dir=${file%/*}; if [ -e "$dir/.$filename-wrapped" ]; then claude-code-router-3.0.0-npm-deps> printf '%s\0' "$file" 1>&4; claude-code-router-3.0.0-npm-deps> fi; claude-code-router-3.0.0-npm-deps> fi; claude-code-router-3.0.0-npm-deps> fi; claude-code-router-3.0.0-npm-deps> done claude-code-router-3.0.0-npm-deps> patching script interpreter paths in /nix/store/ygcj8mpb0jd132jh9ch5ffwq42c67z6z-claude-code-router-3.0.0-npm-deps building '/nix/store/2pi71h75n4cm2y75fz99p81wq66phhc4-claude-code-router-3.0.0.drv' on 'ssh-ng://customer@mac02.m.ntd.one' building '/nix/store/2pi71h75n4cm2y75fz99p81wq66phhc4-claude-code-router-3.0.0.drv' claude-code-router-3.0.0> Running phase: unpackPhase claude-code-router-3.0.0> unpacking source archive /nix/store/087qwdkhriajp3m01nhm9p64q1b6vd0b-source claude-code-router-3.0.0> source root is source claude-code-router-3.0.0> Running phase: patchPhase claude-code-router-3.0.0> Executing npmConfigHook claude-code-router-3.0.0> Configuring npm claude-code-router-3.0.0> Validating consistency between /nix/var/nix/builds/nix-39976-1120874924/source/package-lock.json and /nix/store/ygcj8mpb0jd132jh9ch5ffwq42c67z6z-claude-code-router-3.0.0-npm-deps/package-lock.json claude-code-router-3.0.0> Making cache writable claude-code-router-3.0.0> Setting npm_config_cache to /nix/var/nix/builds/nix-39976-1120874924/cache claude-code-router-3.0.0> Installing dependencies claude-code-router-3.0.0> npm warn Unknown env config "build-from-source". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options. claude-code-router-3.0.0> npm warn Unknown env config "nodedir". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options. claude-code-router-3.0.0> npm warn Unknown env config "platform". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options. claude-code-router-3.0.0> npm warn Unknown env config "arch". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options. claude-code-router-3.0.0> npm warn deprecated lodash.isequal@4.5.0: This package is deprecated. Use require('node:util').isDeepStrictEqual instead. claude-code-router-3.0.0> npm warn deprecated prebuild-install@7.1.3: No longer maintained. Please contact the author of the relevant native addon; alternatives are available. claude-code-router-3.0.0> claude-code-router-3.0.0> added 116 packages, and audited 117 packages in 658ms claude-code-router-3.0.0> claude-code-router-3.0.0> 30 packages are looking for funding claude-code-router-3.0.0> run `npm fund` for details claude-code-router-3.0.0> claude-code-router-3.0.0> found 0 vulnerabilities claude-code-router-3.0.0> patching script interpreter paths in node_modules claude-code-router-3.0.0> node_modules/pino/test/fixtures/ts/transpile.cjs: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/1zm1xb652wk1kscxbcvbryq8y45b0gy5-nodejs-24.16.0/bin/node" claude-code-router-3.0.0> node_modules/pino/bin.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/1zm1xb652wk1kscxbcvbryq8y45b0gy5-nodejs-24.16.0/bin/node" claude-code-router-3.0.0> node_modules/pino/inc-version.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/azk9ni0ks4gbvy7msvaz7j7h32zllpja-bash-5.3p9/bin/bash" claude-code-router-3.0.0> node_modules/prebuild-install/bin.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/1zm1xb652wk1kscxbcvbryq8y45b0gy5-nodejs-24.16.0/bin/node" claude-code-router-3.0.0> node_modules/electron-updater/node_modules/semver/bin/semver.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/1zm1xb652wk1kscxbcvbryq8y45b0gy5-nodejs-24.16.0/bin/node" claude-code-router-3.0.0> node_modules/js-yaml/bin/js-yaml.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/1zm1xb652wk1kscxbcvbryq8y45b0gy5-nodejs-24.16.0/bin/node" claude-code-router-3.0.0> node_modules/semver/bin/semver.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/1zm1xb652wk1kscxbcvbryq8y45b0gy5-nodejs-24.16.0/bin/node" claude-code-router-3.0.0> node_modules/better-sqlite3/deps/download.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/azk9ni0ks4gbvy7msvaz7j7h32zllpja-bash-5.3p9/bin/bash" claude-code-router-3.0.0> node_modules/safe-regex2/bin/safe-regex2.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/1zm1xb652wk1kscxbcvbryq8y45b0gy5-nodejs-24.16.0/bin/node" claude-code-router-3.0.0> node_modules/thread-stream/test/ts/transpile.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/azk9ni0ks4gbvy7msvaz7j7h32zllpja-bash-5.3p9/bin/sh" claude-code-router-3.0.0> node_modules/rc/cli.js: interpreter directive changed from "#! /usr/bin/env node" to "/nix/store/1zm1xb652wk1kscxbcvbryq8y45b0gy5-nodejs-24.16.0/bin/node" claude-code-router-3.0.0> node_modules/pino-abstract-transport/.husky/pre-commit: interpreter directive changed from "#!/usr/bin/env sh" to "/nix/store/azk9ni0ks4gbvy7msvaz7j7h32zllpja-bash-5.3p9/bin/sh" claude-code-router-3.0.0> node_modules/@the-next-ai/bot-gateway-sdk/bin/bot-gateway-stdio.mjs: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/1zm1xb652wk1kscxbcvbryq8y45b0gy5-nodejs-24.16.0/bin/node" claude-code-router-3.0.0> node_modules/@the-next-ai/ai-gateway/bin/next-ai-gateway.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/1zm1xb652wk1kscxbcvbryq8y45b0gy5-nodejs-24.16.0/bin/node" claude-code-router-3.0.0> npm warn Unknown env config "build-from-source". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options. claude-code-router-3.0.0> npm warn Unknown env config "nodedir". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options. claude-code-router-3.0.0> npm warn Unknown env config "platform". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options. claude-code-router-3.0.0> npm warn Unknown env config "arch". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options. claude-code-router-3.0.0> rebuilt dependencies successfully claude-code-router-3.0.0> patching script interpreter paths in node_modules claude-code-router-3.0.0> node_modules/better-sqlite3/build/gyp-mac-tool: interpreter directive changed from "#!/usr/bin/env python3" to "/nix/store/mfkdmplffnbc0av8r6pknl796a6b1r2n-python3-3.13.13/bin/python3" claude-code-router-3.0.0> Finished npmConfigHook claude-code-router-3.0.0> Running phase: updateAutotoolsGnuConfigScriptsPhase claude-code-router-3.0.0> Running phase: configurePhase claude-code-router-3.0.0> no configure script, doing nothing claude-code-router-3.0.0> Running phase: buildPhase claude-code-router-3.0.0> no Makefile or custom buildPhase, doing nothing claude-code-router-3.0.0> Running phase: installPhase claude-code-router-3.0.0> Executing npmInstallHook claude-code-router-3.0.0> npm warn Unknown env config "build-from-source". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options. claude-code-router-3.0.0> npm warn Unknown env config "nodedir". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options. claude-code-router-3.0.0> npm warn Unknown env config "platform". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options. claude-code-router-3.0.0> npm warn Unknown env config "arch". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options. claude-code-router-3.0.0> npm warn gitignore-fallback No .npmignore file found, using .gitignore for file exclusion. Consider creating a .npmignore file to explicitly control published files. claude-code-router-3.0.0> npm warn Unknown env config "build-from-source". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options. claude-code-router-3.0.0> npm warn Unknown env config "nodedir". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options. claude-code-router-3.0.0> npm warn Unknown env config "platform". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options. claude-code-router-3.0.0> npm warn Unknown env config "arch". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options. claude-code-router-3.0.0> claude-code-router-3.0.0> up to date, audited 117 packages in 160ms claude-code-router-3.0.0> claude-code-router-3.0.0> 30 packages are looking for funding claude-code-router-3.0.0> run `npm fund` for details claude-code-router-3.0.0> claude-code-router-3.0.0> found 0 vulnerabilities claude-code-router-3.0.0> Finished npmInstallHook claude-code-router-3.0.0> Running phase: fixupPhase claude-code-router-3.0.0> checking for references to /nix/var/nix/builds/nix-39976-1120874924/ in /nix/store/qcpff9cs2g24ibcb371v414x2pmj16kg-claude-code-router-3.0.0... claude-code-router-3.0.0> patching script interpreter paths in /nix/store/qcpff9cs2g24ibcb371v414x2pmj16kg-claude-code-router-3.0.0 claude-code-router-3.0.0> /nix/store/qcpff9cs2g24ibcb371v414x2pmj16kg-claude-code-router-3.0.0/lib/node_modules/claude-code-router/dist/main/toolhub-mcp.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/1zm1xb652wk1kscxbcvbryq8y45b0gy5-nodejs-24.16.0/bin/node" claude-code-router-3.0.0> /nix/store/qcpff9cs2g24ibcb371v414x2pmj16kg-claude-code-router-3.0.0/lib/node_modules/claude-code-router/dist/main/cli.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/1zm1xb652wk1kscxbcvbryq8y45b0gy5-nodejs-24.16.0/bin/node" claude-code-router-3.0.0> Running phase: installCheckPhase error: build of '/nix/store/2pi71h75n4cm2y75fz99p81wq66phhc4-claude-code-router-3.0.0.drv' on 'ssh-ng://customer@mac02.m.ntd.one' failed: Cannot build '/nix/store/2pi71h75n4cm2y75fz99p81wq66phhc4-claude-code-router-3.0.0.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/qcpff9cs2g24ibcb371v414x2pmj16kg-claude-code-router-3.0.0 Last 25 log lines: > Running phase: installPhase > Executing npmInstallHook > npm warn Unknown env config "build-from-source". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options. > npm warn Unknown env config "nodedir". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options. > npm warn Unknown env config "platform". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options. > npm warn Unknown env config "arch". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options. > npm warn gitignore-fallback No .npmignore file found, using .gitignore for file exclusion. Consider creating a .npmignore file to explicitly control published files. > npm warn Unknown env config "build-from-source". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options. > npm warn Unknown env config "nodedir". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options. > npm warn Unknown env config "platform". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options. > npm warn Unknown env config "arch". This will stop working in the next major version of npm. See `npm help npmrc` for supported config options. > > up to date, audited 117 packages in 160ms > > 30 packages are looking for funding > run `npm fund` for details > > found 0 vulnerabilities > Finished npmInstallHook > Running phase: fixupPhase > checking for references to /nix/var/nix/builds/nix-39976-1120874924/ in /nix/store/qcpff9cs2g24ibcb371v414x2pmj16kg-claude-code-router-3.0.0... > patching script interpreter paths in /nix/store/qcpff9cs2g24ibcb371v414x2pmj16kg-claude-code-router-3.0.0 > /nix/store/qcpff9cs2g24ibcb371v414x2pmj16kg-claude-code-router-3.0.0/lib/node_modules/claude-code-router/dist/main/toolhub-mcp.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/1zm1xb652wk1kscxbcvbryq8y45b0gy5-nodejs-24.16.0/bin/node" > /nix/store/qcpff9cs2g24ibcb371v414x2pmj16kg-claude-code-router-3.0.0/lib/node_modules/claude-code-router/dist/main/cli.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/1zm1xb652wk1kscxbcvbryq8y45b0gy5-nodejs-24.16.0/bin/node" > Running phase: installCheckPhase For full logs, run: nix log /nix/store/2pi71h75n4cm2y75fz99p81wq66phhc4-claude-code-router-3.0.0.drv error: Cannot build '/nix/store/2pi71h75n4cm2y75fz99p81wq66phhc4-claude-code-router-3.0.0.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/qcpff9cs2g24ibcb371v414x2pmj16kg-claude-code-router-3.0.0