Using versionCheckHook Running phase: unpackPhase unpacking source archive /nix/store/w76fssm4kw1c7icrp0y9xpmqznyz178y-pi-src-with-lock source root is pi-src-with-lock Running phase: patchPhase Executing npmConfigHook Configuring npm Validating consistency between /nix/var/nix/builds/nix-94695-607888609/pi-src-with-lock/package-lock.json and /nix/store/6i9kb0lyhicn2mym213yr773sjxl35h8-pi-1.0.4-npm-deps/package-lock.json Making cache writable Setting npm_config_cache to /nix/var/nix/builds/nix-94695-607888609/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 node-domexception@1.0.0: Use your platform's native DOMException instead added 223 packages, and audited 224 packages in 14s 34 packages are looking for funding run `npm fund` for details found 0 vulnerabilities patching script interpreter paths in node_modules node_modules/jiti/lib/jiti-cli.mjs: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7pn7zw2sciv3fih9l4xpyvx0q8hlrr0w-nodejs-24.20.0/bin/node" node_modules/@anthropic-ai/sdk/bin/cli: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7pn7zw2sciv3fih9l4xpyvx0q8hlrr0w-nodejs-24.20.0/bin/node" node_modules/shx/lib/cli.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7pn7zw2sciv3fih9l4xpyvx0q8hlrr0w-nodejs-24.20.0/bin/node" node_modules/resolve/bin/resolve: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7pn7zw2sciv3fih9l4xpyvx0q8hlrr0w-nodejs-24.20.0/bin/node" node_modules/nanoid/bin/nanoid.cjs: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7pn7zw2sciv3fih9l4xpyvx0q8hlrr0w-nodejs-24.20.0/bin/node" node_modules/rolldown/bin/cli.mjs: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7pn7zw2sciv3fih9l4xpyvx0q8hlrr0w-nodejs-24.20.0/bin/node" node_modules/vitest/vitest.mjs: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7pn7zw2sciv3fih9l4xpyvx0q8hlrr0w-nodejs-24.20.0/bin/node" node_modules/marked/bin/marked.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7pn7zw2sciv3fih9l4xpyvx0q8hlrr0w-nodejs-24.20.0/bin/node" node_modules/shelljs/bin/shjs: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7pn7zw2sciv3fih9l4xpyvx0q8hlrr0w-nodejs-24.20.0/bin/node" node_modules/@earendil-works/pi-ai/dist/cli.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7pn7zw2sciv3fih9l4xpyvx0q8hlrr0w-nodejs-24.20.0/bin/node" node_modules/@earendil-works/pi-tui/native/linux/build.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/lb6nd0iyy9x0bm7yfx2fkw0wbjllg4ic-bash-5.3p15/bin/bash" node_modules/@earendil-works/pi-tui/native/darwin/build.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/lb6nd0iyy9x0bm7yfx2fkw0wbjllg4ic-bash-5.3p15/bin/bash" node_modules/semver/bin/semver.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7pn7zw2sciv3fih9l4xpyvx0q8hlrr0w-nodejs-24.20.0/bin/node" node_modules/vite/bin/vite.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7pn7zw2sciv3fih9l4xpyvx0q8hlrr0w-nodejs-24.20.0/bin/node" node_modules/yaml/bin.mjs: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7pn7zw2sciv3fih9l4xpyvx0q8hlrr0w-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/7pn7zw2sciv3fih9l4xpyvx0q8hlrr0w-nodejs-24.20.0/bin/node" node_modules/esbuild/bin/esbuild: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7pn7zw2sciv3fih9l4xpyvx0q8hlrr0w-nodejs-24.20.0/bin/node" node_modules/execa/node_modules/semver/bin/semver: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7pn7zw2sciv3fih9l4xpyvx0q8hlrr0w-nodejs-24.20.0/bin/node" node_modules/execa/node_modules/which/bin/which: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7pn7zw2sciv3fih9l4xpyvx0q8hlrr0w-nodejs-24.20.0/bin/node" node_modules/which/bin/node-which: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7pn7zw2sciv3fih9l4xpyvx0q8hlrr0w-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. npm warn rebuild 3 packages have install scripts not yet covered by allowScripts. Run `npm install-scripts ls` to review. 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 no Makefile or custom buildPhase, doing nothing Running phase: installPhase Executing npmInstallHook [346ms] bundle 2186 modules [462ms] compile dist/pi 81 | "@earendil-works/pi-server": "^1.0.4", ^ warn: Duplicate key "@earendil-works/pi-server" in object literal at /nix/var/nix/builds/nix-94695-607888609/pi-src-with-lock/package.json:81:3 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 103 packages, and audited 121 packages in 942ms 9 packages are looking for funding run `npm fund` for details found 0 vulnerabilities npm warn install-scripts 3 packages have install scripts not yet covered by allowScripts: npm warn install-scripts @google/genai@2.21.0 (preinstall: echo 'preinstall: no-op') npm warn install-scripts esbuild@0.28.2 (postinstall: node install.js) npm warn install-scripts protobufjs@7.6.6 (postinstall: node scripts/postinstall) npm warn install-scripts npm warn install-scripts Run `npm install-scripts ls` to review, or `npm install-scripts approve ` to allow. Finished npmInstallHook installPhase completed in 1 minutes 8 seconds Running phase: fixupPhase checking for references to /nix/var/nix/builds/nix-94695-607888609/ in /nix/store/xjyfpnlwf2f9n10ab3a7psz3dfrd2vh1-pi-1.0.4... /nix/store/cv1d7p48379km6a85h4zp6kr86brh32q-audit-tmpdir.sh: line 39: 3973 Done find "$dir" -type f -not -path '*/.build-id/*' -print0 3974 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/xjyfpnlwf2f9n10ab3a7psz3dfrd2vh1-pi-1.0.4 adding code signature flag CodeSignatureFlags(LINKER_SIGNED) to main signing target signing /nix/store/xjyfpnlwf2f9n10ab3a7psz3dfrd2vh1-pi-1.0.4/libexec/pi/pi in place signing /nix/store/xjyfpnlwf2f9n10ab3a7psz3dfrd2vh1-pi-1.0.4/libexec/pi/pi as a Mach-O binary setting binary identifier to pi parsing Mach-O writing Mach-O to /nix/store/xjyfpnlwf2f9n10ab3a7psz3dfrd2vh1-pi-1.0.4/libexec/pi/pi Running phase: installCheckPhase Executing versionCheckPhase Successfully managed to find version 1.0.4 in the output of the command /nix/store/xjyfpnlwf2f9n10ab3a7psz3dfrd2vh1-pi-1.0.4/bin/pi --version 1.0.4 Finished versionCheckPhase no Makefile or custom installCheckPhase, doing nothing 81 | "@earendil-works/pi-server": "^1.0.4", ^ warn: Duplicate key "@earendil-works/pi-server" in object literal at /nix/var/nix/builds/nix-94695-607888609/pi-src-with-lock/package.json:81:3