mac02: building xg0j1f5nw1dc5laxv1qf1ai9g67yfyfb-pi-1.7.0.drv Using versionCheckHook Running phase: unpackPhase unpacking source archive /nix/store/bnbsh2m3lb3l42ijxfahz5nszabab3ly-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-77669-138920621/pi-src-with-lock/package-lock.json and /nix/store/akamvaq3s8bpxwwgjfgj4bkkakcfiqdr-pi-1.7.0-npm-deps/package-lock.json Making cache writable Setting npm_config_cache to /nix/var/nix/builds/nix-77669-138920621/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 172 packages, and audited 173 packages in 5s 26 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/asklr1x3aywnyrkmn8s28a6yq4qa81r6-nodejs-24.22.3/bin/node" node_modules/@anthropic-ai/sdk/bin/cli: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/asklr1x3aywnyrkmn8s28a6yq4qa81r6-nodejs-24.22.3/bin/node" node_modules/nanoid/bin/nanoid.cjs: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/asklr1x3aywnyrkmn8s28a6yq4qa81r6-nodejs-24.22.3/bin/node" node_modules/rolldown/bin/cli.mjs: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/asklr1x3aywnyrkmn8s28a6yq4qa81r6-nodejs-24.22.3/bin/node" node_modules/vitest/vitest.mjs: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/asklr1x3aywnyrkmn8s28a6yq4qa81r6-nodejs-24.22.3/bin/node" node_modules/marked/bin/marked.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/asklr1x3aywnyrkmn8s28a6yq4qa81r6-nodejs-24.22.3/bin/node" node_modules/@earendil-works/pi-ai/dist/cli.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/asklr1x3aywnyrkmn8s28a6yq4qa81r6-nodejs-24.22.3/bin/node" node_modules/@earendil-works/pi-tui/native/linux/build.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/glmhn7dgp82whw0zb942w653g6di3p6j-bash-5.3p20/bin/bash" node_modules/@earendil-works/pi-tui/native/darwin/build.sh: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/glmhn7dgp82whw0zb942w653g6di3p6j-bash-5.3p20/bin/bash" node_modules/semver/bin/semver.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/asklr1x3aywnyrkmn8s28a6yq4qa81r6-nodejs-24.22.3/bin/node" node_modules/vite/bin/vite.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/asklr1x3aywnyrkmn8s28a6yq4qa81r6-nodejs-24.22.3/bin/node" node_modules/yaml/bin.mjs: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/asklr1x3aywnyrkmn8s28a6yq4qa81r6-nodejs-24.22.3/bin/node" node_modules/why-is-node-running/cli.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/asklr1x3aywnyrkmn8s28a6yq4qa81r6-nodejs-24.22.3/bin/node" node_modules/which/bin/node-which: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/asklr1x3aywnyrkmn8s28a6yq4qa81r6-nodejs-24.22.3/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 1 package has 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 [232ms] bundle 2371 modules [509ms] 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 50 packages, and audited 123 packages in 1s 9 packages are looking for funding run `npm fund` for details found 0 vulnerabilities npm warn install-scripts 1 package has install scripts not yet covered by allowScripts: 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 4 seconds Running phase: fixupPhase checking for references to /nix/var/nix/builds/nix-77669-138920621/ in /nix/store/bd69x273rap6fvjlgy0cjyq29mw3hyj2-pi-1.7.0... /nix/store/cv1d7p48379km6a85h4zp6kr86brh32q-audit-tmpdir.sh: line 39: 88996 Done find "$dir" -type f -not -path '*/.build-id/*' -print0 88997 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/bd69x273rap6fvjlgy0cjyq29mw3hyj2-pi-1.7.0 adding code signature flag CodeSignatureFlags(LINKER_SIGNED) to main signing target signing /nix/store/bd69x273rap6fvjlgy0cjyq29mw3hyj2-pi-1.7.0/libexec/pi/pi in place signing /nix/store/bd69x273rap6fvjlgy0cjyq29mw3hyj2-pi-1.7.0/libexec/pi/pi as a Mach-O binary setting binary identifier to pi parsing Mach-O writing Mach-O to /nix/store/bd69x273rap6fvjlgy0cjyq29mw3hyj2-pi-1.7.0/libexec/pi/pi Running phase: installCheckPhase Executing versionCheckPhase Successfully managed to find version 1.7.0 in the output of the command /nix/store/bd69x273rap6fvjlgy0cjyq29mw3hyj2-pi-1.7.0/bin/pi --version 1.7.0 Finished versionCheckPhase no Makefile or custom installCheckPhase, doing nothing