Running phase: unpackPhase unpacking source archive /nix/store/087qwdkhriajp3m01nhm9p64q1b6vd0b-source source root is source Running phase: patchPhase Executing npmConfigHook Configuring npm Validating consistency between /nix/var/nix/builds/nix-12464-3379076959/source/package-lock.json and /nix/store/ygcj8mpb0jd132jh9ch5ffwq42c67z6z-claude-code-router-3.0.0-npm-deps/package-lock.json Making cache writable Setting npm_config_cache to /nix/var/nix/builds/nix-12464-3379076959/cache Installing dependencies 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 deprecated lodash.isequal@4.5.0: This package is deprecated. Use require('node:util').isDeepStrictEqual instead. npm warn deprecated prebuild-install@7.1.3: No longer maintained. Please contact the author of the relevant native addon; alternatives are available. added 116 packages, and audited 117 packages in 5s 30 packages are looking for funding run `npm fund` for details found 0 vulnerabilities patching script interpreter paths in node_modules node_modules/pino/test/fixtures/ts/transpile.cjs: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/65mlrm3ha0crp7d6rvngsi68lgzi2qlv-nodejs-24.18.0/bin/node" node_modules/pino/bin.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/65mlrm3ha0crp7d6rvngsi68lgzi2qlv-nodejs-24.18.0/bin/node" node_modules/pino/inc-version.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/n51n6xlxqwf2i95k5v6pi4z1862ikfg5-bash-5.3p15/bin/bash" node_modules/prebuild-install/bin.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/65mlrm3ha0crp7d6rvngsi68lgzi2qlv-nodejs-24.18.0/bin/node" node_modules/electron-updater/node_modules/semver/bin/semver.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/65mlrm3ha0crp7d6rvngsi68lgzi2qlv-nodejs-24.18.0/bin/node" node_modules/js-yaml/bin/js-yaml.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/65mlrm3ha0crp7d6rvngsi68lgzi2qlv-nodejs-24.18.0/bin/node" node_modules/semver/bin/semver.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/65mlrm3ha0crp7d6rvngsi68lgzi2qlv-nodejs-24.18.0/bin/node" node_modules/better-sqlite3/deps/download.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/n51n6xlxqwf2i95k5v6pi4z1862ikfg5-bash-5.3p15/bin/bash" node_modules/safe-regex2/bin/safe-regex2.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/65mlrm3ha0crp7d6rvngsi68lgzi2qlv-nodejs-24.18.0/bin/node" node_modules/thread-stream/test/ts/transpile.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/n51n6xlxqwf2i95k5v6pi4z1862ikfg5-bash-5.3p15/bin/sh" node_modules/rc/cli.js: interpreter directive changed from "#! /usr/bin/env node" to "/nix/store/65mlrm3ha0crp7d6rvngsi68lgzi2qlv-nodejs-24.18.0/bin/node" node_modules/pino-abstract-transport/.husky/pre-commit: interpreter directive changed from "#!/usr/bin/env sh" to "/nix/store/n51n6xlxqwf2i95k5v6pi4z1862ikfg5-bash-5.3p15/bin/sh" node_modules/@the-next-ai/bot-gateway-sdk/bin/bot-gateway-stdio.mjs: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/65mlrm3ha0crp7d6rvngsi68lgzi2qlv-nodejs-24.18.0/bin/node" node_modules/@the-next-ai/ai-gateway/bin/next-ai-gateway.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/65mlrm3ha0crp7d6rvngsi68lgzi2qlv-nodejs-24.18.0/bin/node" 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 rebuild 1 package has install scripts not yet covered by allowScripts. Run `npm approve-scripts --allow-scripts-pending` to review. rebuilt dependencies successfully patching script interpreter paths in node_modules node_modules/better-sqlite3/build/gyp-mac-tool: interpreter directive changed from "#!/usr/bin/env python3" to "/nix/store/0788rbnl2p558jnyjlm2s2f9r5sxpq3h-python3-3.14.6/bin/python3" Finished npmConfigHook patchPhase completed in 2 minutes 8 seconds Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase no configure script, doing nothing Running phase: buildPhase no Makefile or custom buildPhase, doing nothing 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 2s 30 packages are looking for funding run `npm fund` for details found 0 vulnerabilities npm warn allow-scripts 1 package has install scripts not yet covered by allowScripts: npm warn allow-scripts better-sqlite3@12.11.1 (install: node-gyp rebuild) npm warn allow-scripts npm warn allow-scripts Run `npm approve-scripts --allow-scripts-pending` to review, or `npm approve-scripts ` to allow. Finished npmInstallHook Running phase: fixupPhase checking for references to /nix/var/nix/builds/nix-12464-3379076959/ in /nix/store/say0w6yca7nqlpq23ijazl7c8x7y7niv-claude-code-router-3.0.0... /nix/store/cv1d7p48379km6a85h4zp6kr86brh32q-audit-tmpdir.sh: line 39: 31241 Broken pipe: 13 find "$dir" -type f -not -path '*/.build-id/*' -print0 31242 Segmentation fault: 11 | while IFS= read -r -d '' file; do if isELF "$file"; then printf '%s\0' "$file" 1>&3; else if isScript "$file"; then filename=${file##*/}; dir=${file%/*}; if [ -e "$dir/.$filename-wrapped" ]; then printf '%s\0' "$file" 1>&4; fi; fi; fi; done patching script interpreter paths in /nix/store/say0w6yca7nqlpq23ijazl7c8x7y7niv-claude-code-router-3.0.0 /nix/store/say0w6yca7nqlpq23ijazl7c8x7y7niv-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/65mlrm3ha0crp7d6rvngsi68lgzi2qlv-nodejs-24.18.0/bin/node" /nix/store/say0w6yca7nqlpq23ijazl7c8x7y7niv-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/65mlrm3ha0crp7d6rvngsi68lgzi2qlv-nodejs-24.18.0/bin/node" Running phase: installCheckPhase