Running phase: unpackPhase unpacking source archive /nix/store/z7jzi2k5vk4622vxh1q98pb1723d5qvk-source source root is source Running phase: patchPhase Executing npmConfigHook Configuring npm Validating consistency between /build/source/package-lock.json and /nix/store/6i028ch6kqmgfy4azp28zxn23gz2pxk7-claude-code-router-3.0.20-npm-deps/package-lock.json Making cache writable Setting npm_config_cache to /build/cache Installing dependencies /nix/store/0y8b0dqr0mly4a3zr4w3iydz3h7v6c0g-npm-config-hook/nix-support/setup-hook: line 125: npm: command not found 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" ]`