mac02: building l23h8v1nwn7slv2pcglij7yx4630cgz6-letta-code-0.34.7.drv Using versionCheckHook Running phase: unpackPhase unpacking source archive /nix/store/5qcaxhnfb3x6zxi8ljdpdf0lsagchkdv-letta-code-src-with-lock source root is letta-code-src-with-lock Running phase: patchPhase Executing npmConfigHook Configuring npm Validating consistency between /nix/var/nix/builds/nix-47663-740765768/letta-code-src-with-lock/npm-shrinkwrap.json and /nix/store/cxlfsji12k46bmpp1kgk941258rlvh87-letta-code-0.34.7-npm-deps/package-lock.json Making cache writable Setting npm_config_cache to /nix/var/nix/builds/nix-47663-740765768/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 error code ENOTCACHED npm error request to https://registry.npmjs.org/@modelcontextprotocol%2fserver-everything failed: cache mode is 'only-if-cached' but no cached response is available. npm error A complete log of this run can be found in: /nix/var/nix/builds/nix-47663-740765768/cache/_logs/2026-10-08T23_48_44_506Z-debug-0.log ERROR: npm failed to install dependencies Here are a few things you can try, depending on the error: 1. Set `npmDepsFetcherVersion = 2` (and update `npmDepsHash`) 2. Set `makeCacheWritable = true` Note that this won't help if npm is complaining about not being able to write to the logs directory -- look above that for the actual error. 3. Set `npmFlags = [ "--legacy-peer-deps" ]`