Running phase: unpackPhase unpacking source archive /nix/store/736d79w99r31lkvswg5505fca6xx6fzy-source source root is source/gitnexus Running phase: patchPhase applying patch /nix/store/nw3pcmpbi4b6wrhrzdrd38js8nb0kp49-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/33lxxnn31gyps6smb3g3cnqsm9i3igjl-gitnexus-1.6.9-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. npm warn deprecated @types/uuid@11.0.0: This is a stub types definition. uuid provides its own type definitions, so you do not need this installed. added 344 packages, and audited 346 packages in 12s 76 packages are looking for funding run `npm fund` for details found 0 vulnerabilities patching script interpreter paths in node_modules node_modules/nanoid/bin/nanoid.cjs: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/lfaydgacdyngci7p60s8wwvgdm74fjkx-nodejs-24.19.0/bin/node" node_modules/uuid/dist-node/bin/uuid: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/lfaydgacdyngci7p60s8wwvgdm74fjkx-nodejs-24.19.0/bin/node" node_modules/cross-spawn/node_modules/which/bin/node-which: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/lfaydgacdyngci7p60s8wwvgdm74fjkx-nodejs-24.19.0/bin/node" node_modules/jsesc/bin/jsesc: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/lfaydgacdyngci7p60s8wwvgdm74fjkx-nodejs-24.19.0/bin/node" node_modules/esbuild/bin/esbuild: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/lfaydgacdyngci7p60s8wwvgdm74fjkx-nodejs-24.19.0/bin/node" node_modules/pino-pretty/bin.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/lfaydgacdyngci7p60s8wwvgdm74fjkx-nodejs-24.19.0/bin/node" node_modules/js-yaml/bin/js-yaml.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/lfaydgacdyngci7p60s8wwvgdm74fjkx-nodejs-24.19.0/bin/node" node_modules/url-join/bin/changelog: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/lfaydgacdyngci7p60s8wwvgdm74fjkx-nodejs-24.19.0/bin/node" node_modules/vitest/vitest.mjs: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/lfaydgacdyngci7p60s8wwvgdm74fjkx-nodejs-24.19.0/bin/node" node_modules/tsx/dist/cli.mjs: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/lfaydgacdyngci7p60s8wwvgdm74fjkx-nodejs-24.19.0/bin/node" node_modules/rc/cli.js: interpreter directive changed from "#! /usr/bin/env node" to "/nix/store/lfaydgacdyngci7p60s8wwvgdm74fjkx-nodejs-24.19.0/bin/node" node_modules/semver/bin/semver.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/lfaydgacdyngci7p60s8wwvgdm74fjkx-nodejs-24.19.0/bin/node" node_modules/vite/bin/vite.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/lfaydgacdyngci7p60s8wwvgdm74fjkx-nodejs-24.19.0/bin/node" node_modules/cmake-js/bin/cmake-js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/lfaydgacdyngci7p60s8wwvgdm74fjkx-nodejs-24.19.0/bin/node" node_modules/@babel/parser/bin/babel-parser.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/lfaydgacdyngci7p60s8wwvgdm74fjkx-nodejs-24.19.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/lfaydgacdyngci7p60s8wwvgdm74fjkx-nodejs-24.19.0/bin/node" node_modules/typescript/bin/tsc: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/lfaydgacdyngci7p60s8wwvgdm74fjkx-nodejs-24.19.0/bin/node" node_modules/typescript/bin/tsserver: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/lfaydgacdyngci7p60s8wwvgdm74fjkx-nodejs-24.19.0/bin/node" node_modules/node-addon-api/tools/conversion.js: interpreter directive changed from "#! /usr/bin/env node" to "/nix/store/lfaydgacdyngci7p60s8wwvgdm74fjkx-nodejs-24.19.0/bin/node" node_modules/pino/bin.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/lfaydgacdyngci7p60s8wwvgdm74fjkx-nodejs-24.19.0/bin/node" node_modules/pino/inc-version.sh: interpreter directive changed from "#!/bin/bash" to "/nix/store/9ipfvwnqp1q8ijnmi5sxvlx9r8w34lw3-bash-5.3p15/bin/bash" node_modules/pino/test/fixtures/ts/transpile.cjs: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/lfaydgacdyngci7p60s8wwvgdm74fjkx-nodejs-24.19.0/bin/node" node_modules/apache-arrow/src/bin/arrow2csv.ts: interpreter directive changed from "#! /usr/bin/env node" to "/nix/store/lfaydgacdyngci7p60s8wwvgdm74fjkx-nodejs-24.19.0/bin/node" node_modules/apache-arrow/bin/arrow2csv.js: interpreter directive changed from "#! /usr/bin/env node" to "/nix/store/lfaydgacdyngci7p60s8wwvgdm74fjkx-nodejs-24.19.0/bin/node" node_modules/apache-arrow/bin/arrow2csv.mjs: interpreter directive changed from "#! /usr/bin/env node" to "/nix/store/lfaydgacdyngci7p60s8wwvgdm74fjkx-nodejs-24.19.0/bin/node" node_modules/node-gyp-build/optional.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/lfaydgacdyngci7p60s8wwvgdm74fjkx-nodejs-24.19.0/bin/node" node_modules/node-gyp-build/build-test.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/lfaydgacdyngci7p60s8wwvgdm74fjkx-nodejs-24.19.0/bin/node" node_modules/node-gyp-build/bin.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/lfaydgacdyngci7p60s8wwvgdm74fjkx-nodejs-24.19.0/bin/node" node_modules/rolldown/bin/cli.mjs: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/lfaydgacdyngci7p60s8wwvgdm74fjkx-nodejs-24.19.0/bin/node" node_modules/pino-abstract-transport/.husky/pre-commit: interpreter directive changed from "#!/usr/bin/env sh" to "/nix/store/9ipfvwnqp1q8ijnmi5sxvlx9r8w34lw3-bash-5.3p15/bin/sh" node_modules/which/bin/which.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/lfaydgacdyngci7p60s8wwvgdm74fjkx-nodejs-24.19.0/bin/node" node_modules/why-is-node-running/cli.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/lfaydgacdyngci7p60s8wwvgdm74fjkx-nodejs-24.19.0/bin/node" node_modules/thread-stream/.husky/pre-commit: interpreter directive changed from "#!/usr/bin/env sh" to "/nix/store/9ipfvwnqp1q8ijnmi5sxvlx9r8w34lw3-bash-5.3p15/bin/sh" node_modules/thread-stream/test/ts/transpile.sh: interpreter directive changed from "#!/bin/sh" to "/nix/store/9ipfvwnqp1q8ijnmi5sxvlx9r8w34lw3-bash-5.3p15/bin/sh" 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.9 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 (gitnexus-web not found) [build] done — rewrote 348 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 88 packages, and audited 258 packages in 607ms 56 packages are looking for funding run `npm fund` for details found 0 vulnerabilities Finished npmInstallHook installPhase completed in 34 seconds Running phase: fixupPhase shrinking RPATHs of ELF executables and libraries in /nix/store/76ikzdgvjhjh5xrbqxg4y9gwn22frc12-gitnexus-1.6.9 shrinking /nix/store/76ikzdgvjhjh5xrbqxg4y9gwn22frc12-gitnexus-1.6.9/lib/node_modules/gitnexus/vendor/tree-sitter-kotlin/prebuilds/linux-x64/tree-sitter-kotlin.node shrinking /nix/store/76ikzdgvjhjh5xrbqxg4y9gwn22frc12-gitnexus-1.6.9/lib/node_modules/gitnexus/vendor/tree-sitter-kotlin/prebuilds/linux-arm64/tree-sitter-kotlin.node shrinking /nix/store/76ikzdgvjhjh5xrbqxg4y9gwn22frc12-gitnexus-1.6.9/lib/node_modules/gitnexus/vendor/tree-sitter-c/prebuilds/linux-arm64/tree-sitter-c.node shrinking /nix/store/76ikzdgvjhjh5xrbqxg4y9gwn22frc12-gitnexus-1.6.9/lib/node_modules/gitnexus/vendor/tree-sitter-c/prebuilds/linux-x64/tree-sitter-c.node shrinking /nix/store/76ikzdgvjhjh5xrbqxg4y9gwn22frc12-gitnexus-1.6.9/lib/node_modules/gitnexus/vendor/tree-sitter-proto/prebuilds/linux-arm64/tree-sitter-proto.node shrinking /nix/store/76ikzdgvjhjh5xrbqxg4y9gwn22frc12-gitnexus-1.6.9/lib/node_modules/gitnexus/vendor/tree-sitter-proto/prebuilds/linux-x64/tree-sitter-proto.node shrinking /nix/store/76ikzdgvjhjh5xrbqxg4y9gwn22frc12-gitnexus-1.6.9/lib/node_modules/gitnexus/vendor/tree-sitter-dart/prebuilds/linux-x64/tree-sitter-dart.node shrinking /nix/store/76ikzdgvjhjh5xrbqxg4y9gwn22frc12-gitnexus-1.6.9/lib/node_modules/gitnexus/vendor/tree-sitter-dart/prebuilds/linux-arm64/tree-sitter-dart.node shrinking /nix/store/76ikzdgvjhjh5xrbqxg4y9gwn22frc12-gitnexus-1.6.9/lib/node_modules/gitnexus/vendor/tree-sitter-swift/prebuilds/linux-arm64/tree-sitter-swift.node shrinking /nix/store/76ikzdgvjhjh5xrbqxg4y9gwn22frc12-gitnexus-1.6.9/lib/node_modules/gitnexus/vendor/tree-sitter-swift/prebuilds/linux-x64/tree-sitter-swift.node shrinking /nix/store/76ikzdgvjhjh5xrbqxg4y9gwn22frc12-gitnexus-1.6.9/lib/node_modules/gitnexus/node_modules/tree-sitter-ruby/prebuilds/linux-x64/tree-sitter-ruby.node shrinking /nix/store/76ikzdgvjhjh5xrbqxg4y9gwn22frc12-gitnexus-1.6.9/lib/node_modules/gitnexus/node_modules/tree-sitter-ruby/prebuilds/linux-arm64/tree-sitter-ruby.node shrinking /nix/store/76ikzdgvjhjh5xrbqxg4y9gwn22frc12-gitnexus-1.6.9/lib/node_modules/gitnexus/node_modules/@img/sharp-linux-x64/lib/sharp-linux-x64.node shrinking /nix/store/76ikzdgvjhjh5xrbqxg4y9gwn22frc12-gitnexus-1.6.9/lib/node_modules/gitnexus/node_modules/@img/sharp-linuxmusl-x64/lib/sharp-linuxmusl-x64.node shrinking /nix/store/76ikzdgvjhjh5xrbqxg4y9gwn22frc12-gitnexus-1.6.9/lib/node_modules/gitnexus/node_modules/@img/sharp-libvips-linuxmusl-x64/lib/libvips-cpp.so.8.17.3 shrinking /nix/store/76ikzdgvjhjh5xrbqxg4y9gwn22frc12-gitnexus-1.6.9/lib/node_modules/gitnexus/node_modules/@img/sharp-libvips-linux-x64/lib/libvips-cpp.so.8.17.3 shrinking /nix/store/76ikzdgvjhjh5xrbqxg4y9gwn22frc12-gitnexus-1.6.9/lib/node_modules/gitnexus/node_modules/@ladybugdb/core-linux-x64/lbugjs.node shrinking /nix/store/76ikzdgvjhjh5xrbqxg4y9gwn22frc12-gitnexus-1.6.9/lib/node_modules/gitnexus/node_modules/@ladybugdb/core/lbugjs.node shrinking /nix/store/76ikzdgvjhjh5xrbqxg4y9gwn22frc12-gitnexus-1.6.9/lib/node_modules/gitnexus/node_modules/tree-sitter-javascript/prebuilds/linux-arm64/tree-sitter-javascript.node shrinking /nix/store/76ikzdgvjhjh5xrbqxg4y9gwn22frc12-gitnexus-1.6.9/lib/node_modules/gitnexus/node_modules/tree-sitter-javascript/prebuilds/linux-x64/tree-sitter-javascript.node shrinking /nix/store/76ikzdgvjhjh5xrbqxg4y9gwn22frc12-gitnexus-1.6.9/lib/node_modules/gitnexus/node_modules/tree-sitter-go/prebuilds/linux-arm64/tree-sitter-go.node shrinking /nix/store/76ikzdgvjhjh5xrbqxg4y9gwn22frc12-gitnexus-1.6.9/lib/node_modules/gitnexus/node_modules/tree-sitter-go/prebuilds/linux-x64/tree-sitter-go.node shrinking /nix/store/76ikzdgvjhjh5xrbqxg4y9gwn22frc12-gitnexus-1.6.9/lib/node_modules/gitnexus/node_modules/tree-sitter-rust/prebuilds/linux-arm64/tree-sitter-rust.node shrinking /nix/store/76ikzdgvjhjh5xrbqxg4y9gwn22frc12-gitnexus-1.6.9/lib/node_modules/gitnexus/node_modules/tree-sitter-rust/prebuilds/linux-x64/tree-sitter-rust.node shrinking /nix/store/76ikzdgvjhjh5xrbqxg4y9gwn22frc12-gitnexus-1.6.9/lib/node_modules/gitnexus/node_modules/tree-sitter-php/prebuilds/linux-arm64/tree-sitter-php.node shrinking /nix/store/76ikzdgvjhjh5xrbqxg4y9gwn22frc12-gitnexus-1.6.9/lib/node_modules/gitnexus/node_modules/tree-sitter-php/prebuilds/linux-x64/tree-sitter-php.node shrinking /nix/store/76ikzdgvjhjh5xrbqxg4y9gwn22frc12-gitnexus-1.6.9/lib/node_modules/gitnexus/node_modules/onnxruntime-node/bin/napi-v6/linux/arm64/onnxruntime_binding.node shrinking /nix/store/76ikzdgvjhjh5xrbqxg4y9gwn22frc12-gitnexus-1.6.9/lib/node_modules/gitnexus/node_modules/onnxruntime-node/bin/napi-v6/linux/arm64/libonnxruntime.so.1 shrinking /nix/store/76ikzdgvjhjh5xrbqxg4y9gwn22frc12-gitnexus-1.6.9/lib/node_modules/gitnexus/node_modules/onnxruntime-node/bin/napi-v6/linux/x64/libonnxruntime.so.1 shrinking /nix/store/76ikzdgvjhjh5xrbqxg4y9gwn22frc12-gitnexus-1.6.9/lib/node_modules/gitnexus/node_modules/onnxruntime-node/bin/napi-v6/linux/x64/onnxruntime_binding.node shrinking /nix/store/76ikzdgvjhjh5xrbqxg4y9gwn22frc12-gitnexus-1.6.9/lib/node_modules/gitnexus/node_modules/tree-sitter-c-sharp/prebuilds/linux-arm64/tree-sitter-c-sharp.node shrinking /nix/store/76ikzdgvjhjh5xrbqxg4y9gwn22frc12-gitnexus-1.6.9/lib/node_modules/gitnexus/node_modules/tree-sitter-c-sharp/prebuilds/linux-x64/tree-sitter-c-sharp.node shrinking /nix/store/76ikzdgvjhjh5xrbqxg4y9gwn22frc12-gitnexus-1.6.9/lib/node_modules/gitnexus/node_modules/tree-sitter-python/prebuilds/linux-x64/tree-sitter-python.node shrinking /nix/store/76ikzdgvjhjh5xrbqxg4y9gwn22frc12-gitnexus-1.6.9/lib/node_modules/gitnexus/node_modules/tree-sitter-python/prebuilds/linux-arm64/tree-sitter-python.node shrinking /nix/store/76ikzdgvjhjh5xrbqxg4y9gwn22frc12-gitnexus-1.6.9/lib/node_modules/gitnexus/node_modules/tree-sitter-typescript/prebuilds/linux-x64/tree-sitter-typescript.node shrinking /nix/store/76ikzdgvjhjh5xrbqxg4y9gwn22frc12-gitnexus-1.6.9/lib/node_modules/gitnexus/node_modules/tree-sitter-typescript/prebuilds/linux-arm64/tree-sitter-typescript.node shrinking /nix/store/76ikzdgvjhjh5xrbqxg4y9gwn22frc12-gitnexus-1.6.9/lib/node_modules/gitnexus/node_modules/tree-sitter-java/prebuilds/linux-x64/tree-sitter-java.node shrinking /nix/store/76ikzdgvjhjh5xrbqxg4y9gwn22frc12-gitnexus-1.6.9/lib/node_modules/gitnexus/node_modules/tree-sitter-java/prebuilds/linux-arm64/tree-sitter-java.node shrinking /nix/store/76ikzdgvjhjh5xrbqxg4y9gwn22frc12-gitnexus-1.6.9/lib/node_modules/gitnexus/node_modules/tree-sitter/prebuilds/linux-x64/tree-sitter.node shrinking /nix/store/76ikzdgvjhjh5xrbqxg4y9gwn22frc12-gitnexus-1.6.9/lib/node_modules/gitnexus/node_modules/tree-sitter-cpp/prebuilds/linux-x64/tree-sitter-cpp.node shrinking /nix/store/76ikzdgvjhjh5xrbqxg4y9gwn22frc12-gitnexus-1.6.9/lib/node_modules/gitnexus/node_modules/tree-sitter-cpp/prebuilds/linux-arm64/tree-sitter-cpp.node checking for references to /build/ in /nix/store/76ikzdgvjhjh5xrbqxg4y9gwn22frc12-gitnexus-1.6.9... patching script interpreter paths in /nix/store/76ikzdgvjhjh5xrbqxg4y9gwn22frc12-gitnexus-1.6.9 /nix/store/76ikzdgvjhjh5xrbqxg4y9gwn22frc12-gitnexus-1.6.9/lib/node_modules/gitnexus/dist/cli/index.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/lfaydgacdyngci7p60s8wwvgdm74fjkx-nodejs-24.19.0/bin/node" /nix/store/76ikzdgvjhjh5xrbqxg4y9gwn22frc12-gitnexus-1.6.9/lib/node_modules/gitnexus/hooks/antigravity/gitnexus-antigravity-hook.cjs: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/lfaydgacdyngci7p60s8wwvgdm74fjkx-nodejs-24.19.0/bin/node" /nix/store/76ikzdgvjhjh5xrbqxg4y9gwn22frc12-gitnexus-1.6.9/lib/node_modules/gitnexus/hooks/claude/gitnexus-hook.cjs: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/lfaydgacdyngci7p60s8wwvgdm74fjkx-nodejs-24.19.0/bin/node"