mac02: building 7jfd06hi4gbczkmvp18rq4sc1flfg2vr-letta-code-0.34.10.drv Using versionCheckHook Running phase: unpackPhase unpacking source archive /nix/store/0sh5kiba95vbcd3gh9l3b9p7lmiqc2yk-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-56477-2541385509/letta-code-src-with-lock/npm-shrinkwrap.json and /nix/store/gcp2zhjpq63wnj3sbbahmz7ali3jadjd-letta-code-0.34.10-npm-deps/package-lock.json Making cache writable Setting npm_config_cache to /nix/var/nix/builds/nix-56477-2541385509/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-56477-2541385509/cache/_logs/2026-10-11T04_34_35_691Z-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" ]`