1these 3 derivations will be built:2 /nix/store/j83whbsj7pyq184l6b5jx77g7g5f3k3d-source.drv3 /nix/store/shlzj0vzxb12pcikr76vhvaav3wikvyq-claude-code-router-3.0.0-npm-deps.drv4 /nix/store/2pi71h75n4cm2y75fz99p81wq66phhc4-claude-code-router-3.0.0.drv5building '/nix/store/1ravpfh1r0j0ifawra39x05c4x7p35cq-source.drv' on 'ssh-ng://customer@mac02.m.ntd.one'6building '/nix/store/1ravpfh1r0j0ifawra39x05c4x7p35cq-source.drv'7source> structuredAttrs is enabled8source> 9source> trying https://github.com/musistudio/claude-code-router/archive/refs/tags/v3.0.0.tar.gz10source> % Total % Received % Xferd Average Speed Time Time Time Current11source> Dload Upload Total Spent Left Speed12source> 0 0 0 0 0 0 0 0 013source> 100 12.90M 0 12.90M 0 0 11.52M 0 00:01 014source> unpacking source archive /nix/var/nix/builds/nix-39752-2834442173/download.tar.gz15building '/nix/store/481nmzdalrjkwgkr2sjc93k3jimps023-claude-code-router-3.0.0-npm-deps.drv' on 'ssh-ng://customer@mac02.m.ntd.one'16building '/nix/store/481nmzdalrjkwgkr2sjc93k3jimps023-claude-code-router-3.0.0-npm-deps.drv'17claude-code-router-3.0.0-npm-deps> Running phase: unpackPhase18claude-code-router-3.0.0-npm-deps> unpacking source archive /nix/store/087qwdkhriajp3m01nhm9p64q1b6vd0b-source19claude-code-router-3.0.0-npm-deps> source root is source20claude-code-router-3.0.0-npm-deps> Running phase: patchPhase21claude-code-router-3.0.0-npm-deps> Running phase: updateAutotoolsGnuConfigScriptsPhase22claude-code-router-3.0.0-npm-deps> Running phase: configurePhase23claude-code-router-3.0.0-npm-deps> no configure script, doing nothing24claude-code-router-3.0.0-npm-deps> Running phase: buildPhase25claude-code-router-3.0.0-npm-deps> warning: 6 out of 643 packages (0.9%) are missing 'resolved' URLs and will not be cached.26claude-code-router-3.0.0-npm-deps> warning: Packages without 'resolved' URLs:27claude-code-router-3.0.0-npm-deps> warning: - @tailwindcss/oxide-wasm32-wasi/node_modules/tslib28claude-code-router-3.0.0-npm-deps> warning: - @tailwindcss/oxide-wasm32-wasi/node_modules/@emnapi/core29claude-code-router-3.0.0-npm-deps> warning: - @tailwindcss/oxide-wasm32-wasi/node_modules/@napi-rs/wasm-runtime30claude-code-router-3.0.0-npm-deps> warning: - @tailwindcss/oxide-wasm32-wasi/node_modules/@emnapi/wasi-threads31claude-code-router-3.0.0-npm-deps> warning: - @tailwindcss/oxide-wasm32-wasi/node_modules/@emnapi/runtime32claude-code-router-3.0.0-npm-deps> warning: - @tailwindcss/oxide-wasm32-wasi/node_modules/@tybys/wasm-util33claude-code-router-3.0.0-npm-deps> Running phase: fixupPhase34claude-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...35claude-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/*' -print036claude-code-router-3.0.0-npm-deps> 39949 Segmentation fault: 11 | while IFS= read -r -d '' file; do37claude-code-router-3.0.0-npm-deps> if isELF "$file"; then38claude-code-router-3.0.0-npm-deps> printf '%s\0' "$file" 1>&3;39claude-code-router-3.0.0-npm-deps> else40claude-code-router-3.0.0-npm-deps> if isScript "$file"; then41claude-code-router-3.0.0-npm-deps> filename=${file##*/}; dir=${file%/*}; if [ -e "$dir/.$filename-wrapped" ]; then42claude-code-router-3.0.0-npm-deps> printf '%s\0' "$file" 1>&4;43claude-code-router-3.0.0-npm-deps> fi;44claude-code-router-3.0.0-npm-deps> fi;45claude-code-router-3.0.0-npm-deps> fi;46claude-code-router-3.0.0-npm-deps> done47claude-code-router-3.0.0-npm-deps> patching script interpreter paths in /nix/store/ygcj8mpb0jd132jh9ch5ffwq42c67z6z-claude-code-router-3.0.0-npm-deps48building '/nix/store/2pi71h75n4cm2y75fz99p81wq66phhc4-claude-code-router-3.0.0.drv' on 'ssh-ng://customer@mac02.m.ntd.one'49building '/nix/store/2pi71h75n4cm2y75fz99p81wq66phhc4-claude-code-router-3.0.0.drv'50claude-code-router-3.0.0> Running phase: unpackPhase51claude-code-router-3.0.0> unpacking source archive /nix/store/087qwdkhriajp3m01nhm9p64q1b6vd0b-source52claude-code-router-3.0.0> source root is source53claude-code-router-3.0.0> Running phase: patchPhase54claude-code-router-3.0.0> Executing npmConfigHook55claude-code-router-3.0.0> Configuring npm56claude-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.json57claude-code-router-3.0.0> Making cache writable58claude-code-router-3.0.0> Setting npm_config_cache to /nix/var/nix/builds/nix-39976-1120874924/cache59claude-code-router-3.0.0> Installing dependencies60claude-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.61claude-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.62claude-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.63claude-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.64claude-code-router-3.0.0> npm warn deprecated lodash.isequal@4.5.0: This package is deprecated. Use require('node:util').isDeepStrictEqual instead.65claude-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.66claude-code-router-3.0.0> 67claude-code-router-3.0.0> added 116 packages, and audited 117 packages in 658ms68claude-code-router-3.0.0> 69claude-code-router-3.0.0> 30 packages are looking for funding70claude-code-router-3.0.0> run `npm fund` for details71claude-code-router-3.0.0> 72claude-code-router-3.0.0> found 0 vulnerabilities73claude-code-router-3.0.0> patching script interpreter paths in node_modules74claude-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"75claude-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"76claude-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"77claude-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"78claude-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"79claude-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"80claude-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"81claude-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"82claude-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"83claude-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"84claude-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"85claude-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"86claude-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"87claude-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"88claude-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.89claude-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.90claude-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.91claude-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.92claude-code-router-3.0.0> rebuilt dependencies successfully93claude-code-router-3.0.0> patching script interpreter paths in node_modules94claude-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"95claude-code-router-3.0.0> Finished npmConfigHook96claude-code-router-3.0.0> Running phase: updateAutotoolsGnuConfigScriptsPhase97claude-code-router-3.0.0> Running phase: configurePhase98claude-code-router-3.0.0> no configure script, doing nothing99claude-code-router-3.0.0> Running phase: buildPhase100claude-code-router-3.0.0> no Makefile or custom buildPhase, doing nothing101claude-code-router-3.0.0> Running phase: installPhase102claude-code-router-3.0.0> Executing npmInstallHook103claude-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.104claude-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.105claude-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.106claude-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.107claude-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.108claude-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.109claude-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.110claude-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.111claude-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.112claude-code-router-3.0.0> 113claude-code-router-3.0.0> up to date, audited 117 packages in 160ms114claude-code-router-3.0.0> 115claude-code-router-3.0.0> 30 packages are looking for funding116claude-code-router-3.0.0> run `npm fund` for details117claude-code-router-3.0.0> 118claude-code-router-3.0.0> found 0 vulnerabilities119claude-code-router-3.0.0> Finished npmInstallHook120claude-code-router-3.0.0> Running phase: fixupPhase121claude-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...122claude-code-router-3.0.0> patching script interpreter paths in /nix/store/qcpff9cs2g24ibcb371v414x2pmj16kg-claude-code-router-3.0.0123claude-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"124claude-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"125claude-code-router-3.0.0> Running phase: installCheckPhase126error: 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'.127 Reason: builder failed with exit code 1.128 Output paths:129 /nix/store/qcpff9cs2g24ibcb371v414x2pmj16kg-claude-code-router-3.0.0130 Last 25 log lines:131 > Running phase: installPhase132 > Executing npmInstallHook133 > 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.134 > 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.135 > 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.136 > 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.137 > npm warn gitignore-fallback No .npmignore file found, using .gitignore for file exclusion. Consider creating a .npmignore file to explicitly control published files.138 > 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.139 > 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.140 > 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.141 > 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.142 >143 > up to date, audited 117 packages in 160ms144 >145 > 30 packages are looking for funding146 > run `npm fund` for details147 >148 > found 0 vulnerabilities149 > Finished npmInstallHook150 > Running phase: fixupPhase151 > checking for references to /nix/var/nix/builds/nix-39976-1120874924/ in /nix/store/qcpff9cs2g24ibcb371v414x2pmj16kg-claude-code-router-3.0.0...152 > patching script interpreter paths in /nix/store/qcpff9cs2g24ibcb371v414x2pmj16kg-claude-code-router-3.0.0153 > /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"154 > /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"155 > Running phase: installCheckPhase156 For full logs, run:157 nix log /nix/store/2pi71h75n4cm2y75fz99p81wq66phhc4-claude-code-router-3.0.0.drv158error: Cannot build '/nix/store/2pi71h75n4cm2y75fz99p81wq66phhc4-claude-code-router-3.0.0.drv'.159 Reason: builder failed with exit code 1.160 Output paths:161 /nix/store/qcpff9cs2g24ibcb371v414x2pmj16kg-claude-code-router-3.0.0