these 4 derivations will be built: /nix/store/947azg9aq556f06g99sxia62k8j4scax-source.drv /nix/store/cqiczj9xjfxxfn2k06l1xab4qahfwyxr-codegraph-1.6.1-npm-deps.drv /nix/store/akri7nifpa4hd0php6azy66s0grlph7c-codegraph-1.6.1.drv /nix/store/27a1y61aqbygszd1jssj274555x4jbk3-check-codegraph.drv building '/nix/store/mpipdbnhz3ic6n0ydy29gcbyhgyd9b6v-source.drv' on 'ssh-ng://customer@mac02.m.ntd.one' building '/nix/store/mpipdbnhz3ic6n0ydy29gcbyhgyd9b6v-source.drv' source> structuredAttrs is enabled source> source> trying https://github.com/colbymchenry/codegraph/archive/refs/tags/v1.6.1.tar.gz source> % Total % Received % Xferd Average Speed Time Time Time Current source> Dload Upload Total Spent Left Speed source> source> 0 0 0 0 0 0 0 0 0 source> 0 0 0 0 0 0 0 0 0 source> 0 0 0 0 0 0 0 0 0 source> source> 0 0 0 0 0 0 0 0 0 source> 100 4.29M 0 4.29M 0 0 3.49M 0 00:01 4.29M source> 100 11.00M 0 11.00M 0 0 4.90M 0 00:02 5.45M source> 100 13.74M 0 13.74M 0 0 5.15M 0 00:02 5.45M source> 100 13.74M 0 13.74M 0 0 5.15M 0 00:02 5.45M source> 100 13.74M 0 13.74M 0 0 5.15M 0 00:02 5.45M source> unpacking source archive /nix/var/nix/builds/nix-49553-808309042/download.tar.gz building '/nix/store/21zw19nx2vhwm8vfp2c1kql17v8jdcc8-codegraph-1.6.1-npm-deps.drv' on 'ssh-ng://customer@mac02.m.ntd.one' building '/nix/store/21zw19nx2vhwm8vfp2c1kql17v8jdcc8-codegraph-1.6.1-npm-deps.drv' codegraph-1.6.1-npm-deps> Running phase: unpackPhase codegraph-1.6.1-npm-deps> unpacking source archive /nix/store/gai5bxh2k5dby37k5nqhhjb8prrz56gi-source codegraph-1.6.1-npm-deps> source root is source codegraph-1.6.1-npm-deps> Running phase: patchPhase codegraph-1.6.1-npm-deps> Running phase: updateAutotoolsGnuConfigScriptsPhase codegraph-1.6.1-npm-deps> Running phase: configurePhase codegraph-1.6.1-npm-deps> no configure script, doing nothing codegraph-1.6.1-npm-deps> Running phase: buildPhase codegraph-1.6.1-npm-deps> warning: 2 out of 255 packages (0.8%) are missing 'resolved' URLs and will not be cached. codegraph-1.6.1-npm-deps> warning: Packages without 'resolved' URLs: codegraph-1.6.1-npm-deps> warning: - ui codegraph-1.6.1-npm-deps> warning: - @colbymchenry/codegraph-ui codegraph-1.6.1-npm-deps> Running phase: fixupPhase codegraph-1.6.1-npm-deps> checking for references to /nix/var/nix/builds/nix-50494-3744420615/ in /nix/store/kzsmbhx70c6d014wc7prq0ibaqp2f8cy-codegraph-1.6.1-npm-deps... codegraph-1.6.1-npm-deps> patching script interpreter paths in /nix/store/kzsmbhx70c6d014wc7prq0ibaqp2f8cy-codegraph-1.6.1-npm-deps building '/nix/store/akri7nifpa4hd0php6azy66s0grlph7c-codegraph-1.6.1.drv' on 'ssh-ng://customer@mac02.m.ntd.one' building '/nix/store/akri7nifpa4hd0php6azy66s0grlph7c-codegraph-1.6.1.drv' codegraph-1.6.1> Using versionCheckHook codegraph-1.6.1> Running phase: unpackPhase codegraph-1.6.1> unpacking source archive /nix/store/gai5bxh2k5dby37k5nqhhjb8prrz56gi-source codegraph-1.6.1> source root is source codegraph-1.6.1> Running phase: patchPhase codegraph-1.6.1> Executing npmConfigHook codegraph-1.6.1> Configuring npm codegraph-1.6.1> Validating consistency between /nix/var/nix/builds/nix-53778-3351502892/source/package-lock.json and /nix/store/kzsmbhx70c6d014wc7prq0ibaqp2f8cy-codegraph-1.6.1-npm-deps/package-lock.json codegraph-1.6.1> Making cache writable codegraph-1.6.1> Setting npm_config_cache to /nix/var/nix/builds/nix-53778-3351502892/cache codegraph-1.6.1> Installing dependencies codegraph-1.6.1> 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. codegraph-1.6.1> 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. codegraph-1.6.1> 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. codegraph-1.6.1> npm warn deprecated whatwg-encoding@3.1.1: Use @exodus/bytes instead for a more spec-conformant and faster implementation codegraph-1.6.1> codegraph-1.6.1> added 183 packages, and audited 185 packages in 7s codegraph-1.6.1> codegraph-1.6.1> 34 packages are looking for funding codegraph-1.6.1> run `npm fund` for details codegraph-1.6.1> codegraph-1.6.1> found 0 vulnerabilities codegraph-1.6.1> patching script interpreter paths in node_modules codegraph-1.6.1> node_modules/tldts/bin/cli.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7pn7zw2sciv3fih9l4xpyvx0q8hlrr0w-nodejs-24.20.0/bin/node" codegraph-1.6.1> node_modules/@sveltejs/package/svelte-package.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7pn7zw2sciv3fih9l4xpyvx0q8hlrr0w-nodejs-24.20.0/bin/node" codegraph-1.6.1> node_modules/nanoid/bin/nanoid.cjs: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7pn7zw2sciv3fih9l4xpyvx0q8hlrr0w-nodejs-24.20.0/bin/node" codegraph-1.6.1> node_modules/acorn/bin/acorn: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7pn7zw2sciv3fih9l4xpyvx0q8hlrr0w-nodejs-24.20.0/bin/node" codegraph-1.6.1> node_modules/vitest/vitest.mjs: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7pn7zw2sciv3fih9l4xpyvx0q8hlrr0w-nodejs-24.20.0/bin/node" codegraph-1.6.1> node_modules/typescript/bin/tsserver: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7pn7zw2sciv3fih9l4xpyvx0q8hlrr0w-nodejs-24.20.0/bin/node" codegraph-1.6.1> node_modules/typescript/bin/tsc: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7pn7zw2sciv3fih9l4xpyvx0q8hlrr0w-nodejs-24.20.0/bin/node" codegraph-1.6.1> node_modules/semver/bin/semver.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7pn7zw2sciv3fih9l4xpyvx0q8hlrr0w-nodejs-24.20.0/bin/node" codegraph-1.6.1> node_modules/vite/bin/vite.js: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7pn7zw2sciv3fih9l4xpyvx0q8hlrr0w-nodejs-24.20.0/bin/node" codegraph-1.6.1> node_modules/rollup/dist/bin/rollup: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7pn7zw2sciv3fih9l4xpyvx0q8hlrr0w-nodejs-24.20.0/bin/node" codegraph-1.6.1> node_modules/vite-node/vite-node.mjs: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7pn7zw2sciv3fih9l4xpyvx0q8hlrr0w-nodejs-24.20.0/bin/node" codegraph-1.6.1> node_modules/svelte-check/bin/svelte-check: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7pn7zw2sciv3fih9l4xpyvx0q8hlrr0w-nodejs-24.20.0/bin/node" codegraph-1.6.1> 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" codegraph-1.6.1> node_modules/esbuild/bin/esbuild: interpreter directive changed from "#!/usr/bin/env node" to "/nix/store/7pn7zw2sciv3fih9l4xpyvx0q8hlrr0w-nodejs-24.20.0/bin/node" codegraph-1.6.1> 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. codegraph-1.6.1> 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. codegraph-1.6.1> 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. codegraph-1.6.1> npm warn rebuild 2 packages have install scripts not yet covered by allowScripts. Run `npm install-scripts ls` to review. codegraph-1.6.1> rebuilt dependencies successfully codegraph-1.6.1> patching script interpreter paths in node_modules codegraph-1.6.1> Finished npmConfigHook codegraph-1.6.1> Running phase: updateAutotoolsGnuConfigScriptsPhase codegraph-1.6.1> Running phase: configurePhase codegraph-1.6.1> no configure script, doing nothing codegraph-1.6.1> Running phase: buildPhase codegraph-1.6.1> Executing npmBuildHook codegraph-1.6.1> 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. codegraph-1.6.1> 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. codegraph-1.6.1> 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. codegraph-1.6.1> codegraph-1.6.1> > @colbymchenry/codegraph@1.6.1 build codegraph-1.6.1> > tsc && npm run copy-assets && npm run build:ui && node -e "require('fs').chmodSync('dist/bin/codegraph.js', 0o755)" codegraph-1.6.1> codegraph-1.6.1> 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. codegraph-1.6.1> 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. codegraph-1.6.1> 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. codegraph-1.6.1> codegraph-1.6.1> > @colbymchenry/codegraph@1.6.1 copy-assets codegraph-1.6.1> > node -e "const fs=require('fs');fs.mkdirSync('dist/db',{recursive:true});fs.copyFileSync('src/db/schema.sql','dist/db/schema.sql');fs.mkdirSync('dist/extraction/wasm',{recursive:true});fs.readdirSync('src/extraction/wasm').filter(f=>f.endsWith('.wasm')).forEach(f=>fs.copyFileSync('src/extraction/wasm/'+f,'dist/extraction/wasm/'+f))" codegraph-1.6.1> codegraph-1.6.1> 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. codegraph-1.6.1> 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. codegraph-1.6.1> 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. codegraph-1.6.1> codegraph-1.6.1> > @colbymchenry/codegraph@1.6.1 build:ui codegraph-1.6.1> > npm run build --workspace ui && node scripts/check-ui-build.mjs codegraph-1.6.1> codegraph-1.6.1> 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. codegraph-1.6.1> 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. codegraph-1.6.1> 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. codegraph-1.6.1> codegraph-1.6.1> > @colbymchenry/codegraph-ui@1.6.0 build codegraph-1.6.1> > vite build codegraph-1.6.1> codegraph-1.6.1> vite v5.4.21 building for production... codegraph-1.6.1> ✓ 3 modules transformed. codegraph-1.6.1> x Build failed in 158ms codegraph-1.6.1> error during build: codegraph-1.6.1> [vite-plugin-svelte:load-custom] Could not load /nix/var/nix/builds/nix-53778-3351502892/source/ui/src/App.svelte (imported by src/main.ts): Cannot read properties of undefined (reading 'config') codegraph-1.6.1> at Object.handler (file:///nix/var/nix/builds/nix-53778-3351502892/source/ui/node_modules/@sveltejs/vite-plugin-svelte/src/plugins/load-custom.js:24:37) codegraph-1.6.1> at file:///nix/var/nix/builds/nix-53778-3351502892/source/node_modules/rollup/dist/es/shared/node-entry.js:22548:40 codegraph-1.6.1> at async PluginDriver.hookFirstAndGetPlugin (file:///nix/var/nix/builds/nix-53778-3351502892/source/node_modules/rollup/dist/es/shared/node-entry.js:22430:28) codegraph-1.6.1> at async file:///nix/var/nix/builds/nix-53778-3351502892/source/node_modules/rollup/dist/es/shared/node-entry.js:21422:33 codegraph-1.6.1> at async Queue.work (file:///nix/var/nix/builds/nix-53778-3351502892/source/node_modules/rollup/dist/es/shared/node-entry.js:22658:32) codegraph-1.6.1> npm error Lifecycle script `build` failed with error: codegraph-1.6.1> npm error code 1 codegraph-1.6.1> npm error path /nix/var/nix/builds/nix-53778-3351502892/source/ui codegraph-1.6.1> npm error workspace @colbymchenry/codegraph-ui@1.6.0 codegraph-1.6.1> npm error location /nix/var/nix/builds/nix-53778-3351502892/source/ui codegraph-1.6.1> npm error command failed codegraph-1.6.1> npm error command sh -c vite build codegraph-1.6.1> codegraph-1.6.1> ERROR: `npm run build [...]` failed codegraph-1.6.1> codegraph-1.6.1> Here are a few things you can try, depending on the error: codegraph-1.6.1> 1. Make sure your build script (build) exists codegraph-1.6.1> If there is none, set `dontNpmBuild = true`. codegraph-1.6.1> 2. If the error being thrown is something similar to "error:0308010C:digital envelope routines::unsupported", add `NODE_OPTIONS = "--openssl-legacy-provider"` to your derivation codegraph-1.6.1> See https://github.com/webpack/webpack/issues/14532 for more information. codegraph-1.6.1> error: build of '/nix/store/akri7nifpa4hd0php6azy66s0grlph7c-codegraph-1.6.1.drv' on 'ssh-ng://customer@mac02.m.ntd.one' failed: Cannot build '/nix/store/akri7nifpa4hd0php6azy66s0grlph7c-codegraph-1.6.1.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/fklrd1yyfpcraqw11nj32fr9rgx4539a-codegraph-1.6.1 Last 25 log lines: > ✓ 3 modules transformed. > x Build failed in 158ms > error during build: > [vite-plugin-svelte:load-custom] Could not load /nix/var/nix/builds/nix-53778-3351502892/source/ui/src/App.svelte (imported by src/main.ts): Cannot read properties of undefined (reading 'config') > at Object.handler (file:///nix/var/nix/builds/nix-53778-3351502892/source/ui/node_modules/@sveltejs/vite-plugin-svelte/src/plugins/load-custom.js:24:37) > at file:///nix/var/nix/builds/nix-53778-3351502892/source/node_modules/rollup/dist/es/shared/node-entry.js:22548:40 > at async PluginDriver.hookFirstAndGetPlugin (file:///nix/var/nix/builds/nix-53778-3351502892/source/node_modules/rollup/dist/es/shared/node-entry.js:22430:28) > at async file:///nix/var/nix/builds/nix-53778-3351502892/source/node_modules/rollup/dist/es/shared/node-entry.js:21422:33 > at async Queue.work (file:///nix/var/nix/builds/nix-53778-3351502892/source/node_modules/rollup/dist/es/shared/node-entry.js:22658:32) > npm error Lifecycle script `build` failed with error: > npm error code 1 > npm error path /nix/var/nix/builds/nix-53778-3351502892/source/ui > npm error workspace @colbymchenry/codegraph-ui@1.6.0 > npm error location /nix/var/nix/builds/nix-53778-3351502892/source/ui > npm error command failed > npm error command sh -c vite build > > ERROR: `npm run build [...]` failed > > Here are a few things you can try, depending on the error: > 1. Make sure your build script (build) exists > If there is none, set `dontNpmBuild = true`. > 2. If the error being thrown is something similar to "error:0308010C:digital envelope routines::unsupported", add `NODE_OPTIONS = "--openssl-legacy-provider"` to your derivation > See https://github.com/webpack/webpack/issues/14532 for more information. > For full logs, run: nix log /nix/store/akri7nifpa4hd0php6azy66s0grlph7c-codegraph-1.6.1.drv error: Cannot build '/nix/store/akri7nifpa4hd0php6azy66s0grlph7c-codegraph-1.6.1.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/fklrd1yyfpcraqw11nj32fr9rgx4539a-codegraph-1.6.1 error: Cannot build '/nix/store/27a1y61aqbygszd1jssj274555x4jbk3-check-codegraph.drv'. Reason: 1 dependency failed. Output paths: /nix/store/cp1yxmnxsq60rcmd28prf7dkq9qc6z6l-check-codegraph