Running phase: unpackPhase unpacking source archive /nix/store/019rygi624gvxmiqgkryfaa5vvsab9nw-source source root is source/gitnexus Running phase: patchPhase applying patch /nix/store/14gqm29gy1q4k0qjg05shwnr7srizp54-system-onnxruntime-node.patch patching file src/core/embeddings/embedder.ts patching file src/core/embeddings/onnxruntime-node-loader.ts patching file src/mcp/core/embedder.ts Executing npmConfigHook Configuring npm Validating consistency between /build/source/gitnexus/package-lock.json and /nix/store/w4zqskmfnwq0bd314ng8yvsg48prvhxd-gitnexus-1.6.12-npm-deps/package-lock.json Making cache writable Setting npm_config_cache to /build/cache Installing dependencies 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. added 359 packages, and audited 361 packages in 7s 86 packages are looking for funding run `npm fund` for details found 0 vulnerabilities patching script interpreter paths in node_modules node_modules/js-yaml/bin/js-yaml.mjs: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/v6wsd9nyglmwh32yn7w8z11dq9cksg4m-nodejs-24.20.0/bin/node" node_modules/nanoid/bin/nanoid.cjs: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/v6wsd9nyglmwh32yn7w8z11dq9cksg4m-nodejs-24.20.0/bin/node" node_modules/which/bin/which.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/v6wsd9nyglmwh32yn7w8z11dq9cksg4m-nodejs-24.20.0/bin/node" node_modules/cross-spawn/node_modules/which/bin/node-which: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/v6wsd9nyglmwh32yn7w8z11dq9cksg4m-nodejs-24.20.0/bin/node" node_modules/pino-pretty/bin.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/v6wsd9nyglmwh32yn7w8z11dq9cksg4m-nodejs-24.20.0/bin/node" node_modules/thread-stream/test/ts/transpile.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/svx59425zxp552p2b8gm11qj5r09b56i-bash-5.3p15/bin/sh" node_modules/thread-stream/.husky/pre-commit: interpreter directive changed from "#!/usr/bin/env sh" to "/nix/store/svx59425zxp552p2b8gm11qj5r09b56i-bash-5.3p15/bin/sh" node_modules/node-gyp-build/build-test.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/v6wsd9nyglmwh32yn7w8z11dq9cksg4m-nodejs-24.20.0/bin/node" node_modules/node-gyp-build/bin.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/v6wsd9nyglmwh32yn7w8z11dq9cksg4m-nodejs-24.20.0/bin/node" node_modules/node-gyp-build/optional.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/v6wsd9nyglmwh32yn7w8z11dq9cksg4m-nodejs-24.20.0/bin/node" node_modules/magicast/node_modules/@babel/parser/bin/babel-parser.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/v6wsd9nyglmwh32yn7w8z11dq9cksg4m-nodejs-24.20.0/bin/node" node_modules/node-addon-api/tools/conversion.js: interpreter directive changed from "#! /usr/bin/env node" to "/nix/store/v6wsd9nyglmwh32yn7w8z11dq9cksg4m-nodejs-24.20.0/bin/node" node_modules/pino/test/fixtures/ts/transpile.cjs: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/v6wsd9nyglmwh32yn7w8z11dq9cksg4m-nodejs-24.20.0/bin/node" node_modules/pino/inc-version.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/svx59425zxp552p2b8gm11qj5r09b56i-bash-5.3p15/bin/bash" node_modules/pino/bin.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/v6wsd9nyglmwh32yn7w8z11dq9cksg4m-nodejs-24.20.0/bin/node" node_modules/cmake-js/bin/cmake-js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/v6wsd9nyglmwh32yn7w8z11dq9cksg4m-nodejs-24.20.0/bin/node" node_modules/vitest/vitest.mjs: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/v6wsd9nyglmwh32yn7w8z11dq9cksg4m-nodejs-24.20.0/bin/node" node_modules/pino-abstract-transport/.husky/pre-commit: interpreter directive changed from "#!/usr/bin/env sh" to "/nix/store/svx59425zxp552p2b8gm11qj5r09b56i-bash-5.3p15/bin/sh" node_modules/esbuild/bin/esbuild: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/v6wsd9nyglmwh32yn7w8z11dq9cksg4m-nodejs-24.20.0/bin/node" node_modules/url-join/bin/changelog: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/v6wsd9nyglmwh32yn7w8z11dq9cksg4m-nodejs-24.20.0/bin/node" node_modules/semver/bin/semver.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/v6wsd9nyglmwh32yn7w8z11dq9cksg4m-nodejs-24.20.0/bin/node" node_modules/@ladybugdb/core/node_modules/node-addon-api/tools/conversion.js: interpreter directive changed from "#! /usr/bin/env node" to "/nix/store/v6wsd9nyglmwh32yn7w8z11dq9cksg4m-nodejs-24.20.0/bin/node" node_modules/vite/bin/vite.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/v6wsd9nyglmwh32yn7w8z11dq9cksg4m-nodejs-24.20.0/bin/node" node_modules/apache-arrow/src/bin/arrow2csv.ts: interpreter directive changed from "#! /usr/bin/env node" to "/nix/store/v6wsd9nyglmwh32yn7w8z11dq9cksg4m-nodejs-24.20.0/bin/node" node_modules/apache-arrow/bin/arrow2csv.mjs: interpreter directive changed from "#! /usr/bin/env node" to "/nix/store/v6wsd9nyglmwh32yn7w8z11dq9cksg4m-nodejs-24.20.0/bin/node" node_modules/apache-arrow/bin/arrow2csv.js: interpreter directive changed from "#! /usr/bin/env node" to "/nix/store/v6wsd9nyglmwh32yn7w8z11dq9cksg4m-nodejs-24.20.0/bin/node" node_modules/typescript/bin/tsserver: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/v6wsd9nyglmwh32yn7w8z11dq9cksg4m-nodejs-24.20.0/bin/node" node_modules/typescript/bin/tsc: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/v6wsd9nyglmwh32yn7w8z11dq9cksg4m-nodejs-24.20.0/bin/node" node_modules/@babel/parser/bin/babel-parser.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/v6wsd9nyglmwh32yn7w8z11dq9cksg4m-nodejs-24.20.0/bin/node" node_modules/rc/cli.js: interpreter directive changed from "#! /usr/bin/env node" to "/nix/store/v6wsd9nyglmwh32yn7w8z11dq9cksg4m-nodejs-24.20.0/bin/node" node_modules/tsx/dist/cli.mjs: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/v6wsd9nyglmwh32yn7w8z11dq9cksg4m-nodejs-24.20.0/bin/node" node_modules/rolldown/bin/cli.mjs: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/v6wsd9nyglmwh32yn7w8z11dq9cksg4m-nodejs-24.20.0/bin/node" node_modules/fast-xml-parser/src/cli/cli.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/v6wsd9nyglmwh32yn7w8z11dq9cksg4m-nodejs-24.20.0/bin/node" node_modules/jsesc/bin/jsesc: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/v6wsd9nyglmwh32yn7w8z11dq9cksg4m-nodejs-24.20.0/bin/node" node_modules/why-is-node-running/cli.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/v6wsd9nyglmwh32yn7w8z11dq9cksg4m-nodejs-24.20.0/bin/node" node_modules/uuid/dist-node/bin/uuid: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/v6wsd9nyglmwh32yn7w8z11dq9cksg4m-nodejs-24.20.0/bin/node" 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. rebuilt dependencies successfully patching script interpreter paths in node_modules Finished npmConfigHook Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase no configure script, doing nothing Running phase: buildPhase Executing npmBuildHook 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. > gitnexus@1.6.12 build > node scripts/build.js [build] compiling gitnexus-shared… [build] compiling gitnexus… [build] copying shared module into dist/_shared… [build] rewriting gitnexus-shared imports… [build] skipping web UI and removed stale output (pass --web or set GITNEXUS_BUILD_WEB=1 to include it) [build] done — rewrote 450 files. Finished npmBuildHook Running phase: installPhase Executing npmInstallHook 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 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. removed 91 packages, and audited 270 packages in 448ms 66 packages are looking for funding run `npm fund` for details found 0 vulnerabilities Finished npmInstallHook installPhase completed in 32 seconds Running phase: fixupPhase shrinking RPATHs of ELF executables and libraries in /nix/store/qr1jc74ls0s56qdqarw2hv4k28kw18jr-gitnexus-1.6.12 shrinking /nix/store/qr1jc74ls0s56qdqarw2hv4k28kw18jr-gitnexus-1.6.12/lib/node_modules/gitnexus/vendor/tree-sitter-c/prebuilds/linux-arm64/tree-sitter-c.node shrinking /nix/store/qr1jc74ls0s56qdqarw2hv4k28kw18jr-gitnexus-1.6.12/lib/node_modules/gitnexus/vendor/tree-sitter-c/prebuilds/linux-x64/tree-sitter-c.node shrinking /nix/store/qr1jc74ls0s56qdqarw2hv4k28kw18jr-gitnexus-1.6.12/lib/node_modules/gitnexus/vendor/tree-sitter-objc/prebuilds/linux-arm64/tree-sitter-objc.node shrinking /nix/store/qr1jc74ls0s56qdqarw2hv4k28kw18jr-gitnexus-1.6.12/lib/node_modules/gitnexus/vendor/tree-sitter-objc/prebuilds/linux-x64/tree-sitter-objc.node shrinking /nix/store/qr1jc74ls0s56qdqarw2hv4k28kw18jr-gitnexus-1.6.12/lib/node_modules/gitnexus/vendor/tree-sitter-kotlin/prebuilds/linux-arm64/tree-sitter-kotlin.node shrinking /nix/store/qr1jc74ls0s56qdqarw2hv4k28kw18jr-gitnexus-1.6.12/lib/node_modules/gitnexus/vendor/tree-sitter-kotlin/prebuilds/linux-x64/tree-sitter-kotlin.node shrinking /nix/store/qr1jc74ls0s56qdqarw2hv4k28kw18jr-gitnexus-1.6.12/lib/node_modules/gitnexus/vendor/tree-sitter-swift/prebuilds/linux-x64/tree-sitter-swift.node shrinking /nix/store/qr1jc74ls0s56qdqarw2hv4k28kw18jr-gitnexus-1.6.12/lib/node_modules/gitnexus/vendor/tree-sitter-swift/prebuilds/linux-arm64/tree-sitter-swift.node shrinking /nix/store/qr1jc74ls0s56qdqarw2hv4k28kw18jr-gitnexus-1.6.12/lib/node_modules/gitnexus/vendor/tree-sitter-dart/prebuilds/linux-arm64/tree-sitter-dart.node shrinking /nix/store/qr1jc74ls0s56qdqarw2hv4k28kw18jr-gitnexus-1.6.12/lib/node_modules/gitnexus/vendor/tree-sitter-dart/prebuilds/linux-x64/tree-sitter-dart.node shrinking /nix/store/qr1jc74ls0s56qdqarw2hv4k28kw18jr-gitnexus-1.6.12/lib/node_modules/gitnexus/vendor/tree-sitter-proto/prebuilds/linux-x64/tree-sitter-proto.node shrinking /nix/store/qr1jc74ls0s56qdqarw2hv4k28kw18jr-gitnexus-1.6.12/lib/node_modules/gitnexus/vendor/tree-sitter-proto/prebuilds/linux-arm64/tree-sitter-proto.node shrinking /nix/store/qr1jc74ls0s56qdqarw2hv4k28kw18jr-gitnexus-1.6.12/lib/node_modules/gitnexus/vendor/tree-sitter-zig/prebuilds/linux-x64/tree-sitter-zig.node shrinking /nix/store/qr1jc74ls0s56qdqarw2hv4k28kw18jr-gitnexus-1.6.12/lib/node_modules/gitnexus/vendor/tree-sitter-zig/prebuilds/linux-arm64/tree-sitter-zig.node shrinking /nix/store/qr1jc74ls0s56qdqarw2hv4k28kw18jr-gitnexus-1.6.12/lib/node_modules/gitnexus/node_modules/tree-sitter-java/prebuilds/linux-arm64/tree-sitter-java.node shrinking /nix/store/qr1jc74ls0s56qdqarw2hv4k28kw18jr-gitnexus-1.6.12/lib/node_modules/gitnexus/node_modules/tree-sitter-java/prebuilds/linux-x64/tree-sitter-java.node shrinking /nix/store/qr1jc74ls0s56qdqarw2hv4k28kw18jr-gitnexus-1.6.12/lib/node_modules/gitnexus/node_modules/tree-sitter-c-sharp/prebuilds/linux-arm64/tree-sitter-c-sharp.node shrinking /nix/store/qr1jc74ls0s56qdqarw2hv4k28kw18jr-gitnexus-1.6.12/lib/node_modules/gitnexus/node_modules/tree-sitter-c-sharp/prebuilds/linux-x64/tree-sitter-c-sharp.node shrinking /nix/store/qr1jc74ls0s56qdqarw2hv4k28kw18jr-gitnexus-1.6.12/lib/node_modules/gitnexus/node_modules/tree-sitter-cpp/prebuilds/linux-x64/tree-sitter-cpp.node shrinking /nix/store/qr1jc74ls0s56qdqarw2hv4k28kw18jr-gitnexus-1.6.12/lib/node_modules/gitnexus/node_modules/tree-sitter-cpp/prebuilds/linux-arm64/tree-sitter-cpp.node shrinking /nix/store/qr1jc74ls0s56qdqarw2hv4k28kw18jr-gitnexus-1.6.12/lib/node_modules/gitnexus/node_modules/tree-sitter-typescript/prebuilds/linux-x64/tree-sitter-typescript.node shrinking /nix/store/qr1jc74ls0s56qdqarw2hv4k28kw18jr-gitnexus-1.6.12/lib/node_modules/gitnexus/node_modules/tree-sitter-typescript/prebuilds/linux-arm64/tree-sitter-typescript.node shrinking /nix/store/qr1jc74ls0s56qdqarw2hv4k28kw18jr-gitnexus-1.6.12/lib/node_modules/gitnexus/node_modules/tree-sitter-javascript/prebuilds/linux-x64/tree-sitter-javascript.node shrinking /nix/store/qr1jc74ls0s56qdqarw2hv4k28kw18jr-gitnexus-1.6.12/lib/node_modules/gitnexus/node_modules/tree-sitter-javascript/prebuilds/linux-arm64/tree-sitter-javascript.node shrinking /nix/store/qr1jc74ls0s56qdqarw2hv4k28kw18jr-gitnexus-1.6.12/lib/node_modules/gitnexus/node_modules/@ladybugdb/core/lbugjs.node shrinking /nix/store/qr1jc74ls0s56qdqarw2hv4k28kw18jr-gitnexus-1.6.12/lib/node_modules/gitnexus/node_modules/@ladybugdb/core-linux-x64/lbugjs.node shrinking /nix/store/qr1jc74ls0s56qdqarw2hv4k28kw18jr-gitnexus-1.6.12/lib/node_modules/gitnexus/node_modules/tree-sitter/prebuilds/linux-x64/tree-sitter.node shrinking /nix/store/qr1jc74ls0s56qdqarw2hv4k28kw18jr-gitnexus-1.6.12/lib/node_modules/gitnexus/node_modules/onnxruntime-node/bin/napi-v6/linux/arm64/onnxruntime_binding.node shrinking /nix/store/qr1jc74ls0s56qdqarw2hv4k28kw18jr-gitnexus-1.6.12/lib/node_modules/gitnexus/node_modules/onnxruntime-node/bin/napi-v6/linux/arm64/libonnxruntime.so.1 shrinking /nix/store/qr1jc74ls0s56qdqarw2hv4k28kw18jr-gitnexus-1.6.12/lib/node_modules/gitnexus/node_modules/onnxruntime-node/bin/napi-v6/linux/x64/onnxruntime_binding.node shrinking /nix/store/qr1jc74ls0s56qdqarw2hv4k28kw18jr-gitnexus-1.6.12/lib/node_modules/gitnexus/node_modules/onnxruntime-node/bin/napi-v6/linux/x64/libonnxruntime.so.1 shrinking /nix/store/qr1jc74ls0s56qdqarw2hv4k28kw18jr-gitnexus-1.6.12/lib/node_modules/gitnexus/node_modules/tree-sitter-python/prebuilds/linux-arm64/tree-sitter-python.node shrinking /nix/store/qr1jc74ls0s56qdqarw2hv4k28kw18jr-gitnexus-1.6.12/lib/node_modules/gitnexus/node_modules/tree-sitter-python/prebuilds/linux-x64/tree-sitter-python.node shrinking /nix/store/qr1jc74ls0s56qdqarw2hv4k28kw18jr-gitnexus-1.6.12/lib/node_modules/gitnexus/node_modules/tree-sitter-rust/prebuilds/linux-x64/tree-sitter-rust.node shrinking /nix/store/qr1jc74ls0s56qdqarw2hv4k28kw18jr-gitnexus-1.6.12/lib/node_modules/gitnexus/node_modules/tree-sitter-rust/prebuilds/linux-arm64/tree-sitter-rust.node shrinking /nix/store/qr1jc74ls0s56qdqarw2hv4k28kw18jr-gitnexus-1.6.12/lib/node_modules/gitnexus/node_modules/tree-sitter-go/prebuilds/linux-x64/tree-sitter-go.node shrinking /nix/store/qr1jc74ls0s56qdqarw2hv4k28kw18jr-gitnexus-1.6.12/lib/node_modules/gitnexus/node_modules/tree-sitter-go/prebuilds/linux-arm64/tree-sitter-go.node shrinking /nix/store/qr1jc74ls0s56qdqarw2hv4k28kw18jr-gitnexus-1.6.12/lib/node_modules/gitnexus/node_modules/@img/sharp-linux-x64/lib/sharp-linux-x64-0.35.3.node shrinking /nix/store/qr1jc74ls0s56qdqarw2hv4k28kw18jr-gitnexus-1.6.12/lib/node_modules/gitnexus/node_modules/@img/sharp-linuxmusl-x64/lib/sharp-linuxmusl-x64-0.35.3.node shrinking /nix/store/qr1jc74ls0s56qdqarw2hv4k28kw18jr-gitnexus-1.6.12/lib/node_modules/gitnexus/node_modules/@img/sharp-libvips-linuxmusl-x64/lib/libvips-cpp.so.8.18.3 shrinking /nix/store/qr1jc74ls0s56qdqarw2hv4k28kw18jr-gitnexus-1.6.12/lib/node_modules/gitnexus/node_modules/@img/sharp-libvips-linux-x64/lib/libvips-cpp.so.8.18.3 shrinking /nix/store/qr1jc74ls0s56qdqarw2hv4k28kw18jr-gitnexus-1.6.12/lib/node_modules/gitnexus/node_modules/tree-sitter-php/prebuilds/linux-x64/tree-sitter-php.node shrinking /nix/store/qr1jc74ls0s56qdqarw2hv4k28kw18jr-gitnexus-1.6.12/lib/node_modules/gitnexus/node_modules/tree-sitter-php/prebuilds/linux-arm64/tree-sitter-php.node shrinking /nix/store/qr1jc74ls0s56qdqarw2hv4k28kw18jr-gitnexus-1.6.12/lib/node_modules/gitnexus/node_modules/tree-sitter-ruby/prebuilds/linux-x64/tree-sitter-ruby.node shrinking /nix/store/qr1jc74ls0s56qdqarw2hv4k28kw18jr-gitnexus-1.6.12/lib/node_modules/gitnexus/node_modules/tree-sitter-ruby/prebuilds/linux-arm64/tree-sitter-ruby.node checking for references to /build/ in /nix/store/qr1jc74ls0s56qdqarw2hv4k28kw18jr-gitnexus-1.6.12... patching script interpreter paths in /nix/store/qr1jc74ls0s56qdqarw2hv4k28kw18jr-gitnexus-1.6.12 /nix/store/qr1jc74ls0s56qdqarw2hv4k28kw18jr-gitnexus-1.6.12/lib/node_modules/gitnexus/hooks/claude/gitnexus-hook.cjs: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/v6wsd9nyglmwh32yn7w8z11dq9cksg4m-nodejs-24.20.0/bin/node" /nix/store/qr1jc74ls0s56qdqarw2hv4k28kw18jr-gitnexus-1.6.12/lib/node_modules/gitnexus/hooks/antigravity/gitnexus-antigravity-hook.cjs: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/v6wsd9nyglmwh32yn7w8z11dq9cksg4m-nodejs-24.20.0/bin/node" /nix/store/qr1jc74ls0s56qdqarw2hv4k28kw18jr-gitnexus-1.6.12/lib/node_modules/gitnexus/dist/cli/index.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/v6wsd9nyglmwh32yn7w8z11dq9cksg4m-nodejs-24.20.0/bin/node"