Using versionCheckHook Running phase: unpackPhase unpacking source archive /nix/store/0n67jb6y9k2n8b93pb19m50n3fisf142-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-88753-4054613306/pi-src-with-lock/package-lock.json and /nix/store/mljyvgqhpdbllc3w8ax9vx2nc6prf2dk-pi-0.84.4-npm-deps/package-lock.json Making cache writable Setting npm_config_cache to /nix/var/nix/builds/nix-88753-4054613306/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 224 packages, and audited 225 packages in 21s 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/0n6wnabi4grafrkvnla0ip529rqp6yxp-nodejs-24.19.0/bin/node" node_modules/@anthropic-ai/sdk/bin/cli: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/0n6wnabi4grafrkvnla0ip529rqp6yxp-nodejs-24.19.0/bin/node" node_modules/shx/lib/cli.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/0n6wnabi4grafrkvnla0ip529rqp6yxp-nodejs-24.19.0/bin/node" node_modules/resolve/bin/resolve: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/0n6wnabi4grafrkvnla0ip529rqp6yxp-nodejs-24.19.0/bin/node" node_modules/nanoid/bin/nanoid.cjs: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/0n6wnabi4grafrkvnla0ip529rqp6yxp-nodejs-24.19.0/bin/node" node_modules/rolldown/bin/cli.mjs: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/0n6wnabi4grafrkvnla0ip529rqp6yxp-nodejs-24.19.0/bin/node" node_modules/vitest/vitest.mjs: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/0n6wnabi4grafrkvnla0ip529rqp6yxp-nodejs-24.19.0/bin/node" node_modules/marked/bin/marked.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/0n6wnabi4grafrkvnla0ip529rqp6yxp-nodejs-24.19.0/bin/node" node_modules/typescript/bin/tsserver: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/0n6wnabi4grafrkvnla0ip529rqp6yxp-nodejs-24.19.0/bin/node" node_modules/typescript/bin/tsc: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/0n6wnabi4grafrkvnla0ip529rqp6yxp-nodejs-24.19.0/bin/node" node_modules/shelljs/bin/shjs: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/0n6wnabi4grafrkvnla0ip529rqp6yxp-nodejs-24.19.0/bin/node" node_modules/@earendil-works/pi-ai/dist/cli.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/0n6wnabi4grafrkvnla0ip529rqp6yxp-nodejs-24.19.0/bin/node" node_modules/@earendil-works/pi-tui/native/darwin/build.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/yqk6qhawnigv832m2zhcbs25nb37r73i-bash-5.3p15/bin/bash" node_modules/semver/bin/semver.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/0n6wnabi4grafrkvnla0ip529rqp6yxp-nodejs-24.19.0/bin/node" node_modules/vite/bin/vite.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/0n6wnabi4grafrkvnla0ip529rqp6yxp-nodejs-24.19.0/bin/node" node_modules/yaml/bin.mjs: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/0n6wnabi4grafrkvnla0ip529rqp6yxp-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/0n6wnabi4grafrkvnla0ip529rqp6yxp-nodejs-24.19.0/bin/node" node_modules/execa/node_modules/semver/bin/semver: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/0n6wnabi4grafrkvnla0ip529rqp6yxp-nodejs-24.19.0/bin/node" node_modules/execa/node_modules/which/bin/which: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/0n6wnabi4grafrkvnla0ip529rqp6yxp-nodejs-24.19.0/bin/node" node_modules/which/bin/node-which: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/0n6wnabi4grafrkvnla0ip529rqp6yxp-nodejs-24.19.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 2 packages have 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 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 [374ms] bundle 2009 modules [474ms] compile dist/pi 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 101 packages, and audited 124 packages in 2s 9 packages are looking for funding run `npm fund` for details found 0 vulnerabilities npm warn allow-scripts 2 packages have install scripts not yet covered by allowScripts: npm warn allow-scripts @google/genai@1.52.0 (preinstall: echo 'preinstall: no-op') npm warn allow-scripts protobufjs@7.6.5 (postinstall: node scripts/postinstall) 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 installPhase completed in 1 minutes 7 seconds Running phase: fixupPhase checking for references to /nix/var/nix/builds/nix-88753-4054613306/ in /nix/store/ljz710q1xhy4srivjmd7y6ql7sjg7k49-pi-0.84.4... /nix/store/cv1d7p48379km6a85h4zp6kr86brh32q-audit-tmpdir.sh: line 39: 2661 Done find "$dir" -type f -not -path '*/.build-id/*' -print0 2662 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/ljz710q1xhy4srivjmd7y6ql7sjg7k49-pi-0.84.4 adding code signature flag CodeSignatureFlags(LINKER_SIGNED) to main signing target signing /nix/store/ljz710q1xhy4srivjmd7y6ql7sjg7k49-pi-0.84.4/libexec/pi/pi in place signing /nix/store/ljz710q1xhy4srivjmd7y6ql7sjg7k49-pi-0.84.4/libexec/pi/pi as a Mach-O binary setting binary identifier to pi parsing Mach-O writing Mach-O to /nix/store/ljz710q1xhy4srivjmd7y6ql7sjg7k49-pi-0.84.4/libexec/pi/pi Running phase: installCheckPhase Executing versionCheckPhase Successfully managed to find version 0.84.4 in the output of the command /nix/store/ljz710q1xhy4srivjmd7y6ql7sjg7k49-pi-0.84.4/bin/pi --version 0.84.4 Finished versionCheckPhase no Makefile or custom installCheckPhase, doing nothing