these 3 derivations will be built: /nix/store/r1b0wshfjjfvhxbrcbfz2kb63cxc03lx-letta-code-src-with-lock.drv /nix/store/sby96h32cz0sch0da9k17kby0pn8z55g-letta-code-0.34.7.drv /nix/store/6a6v6gsx494yn3vkp2hp7fcjmhq51mx8-check-letta-code.drv error: Cannot build '/nix/store/sby96h32cz0sch0da9k17kby0pn8z55g-letta-code-0.34.7.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/cfzv7ghm8dhbgk65r9w89zb5z071s2sg-letta-code-0.34.7 Last 25 log lines: > Running phase: unpackPhase > unpacking source archive /nix/store/lh3vmg53lqpciba36q2a6zdif323ixcr-letta-code-src-with-lock > source root is letta-code-src-with-lock > Running phase: patchPhase > Executing npmConfigHook > Configuring npm > Validating consistency between /build/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 /build/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: /build/cache/_logs/2026-10-08T23_57_13_844Z-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" ]` > For full logs, run: nix log /nix/store/sby96h32cz0sch0da9k17kby0pn8z55g-letta-code-0.34.7.drv error: Cannot build '/nix/store/6a6v6gsx494yn3vkp2hp7fcjmhq51mx8-check-letta-code.drv'. Reason: 1 dependency failed. Output paths: /nix/store/6fmc1ap5nccq88b6lip84mcsffyvflpn-check-letta-code