mac02: building 4019pzmqrs2w3l6js42j39iqzy0jnscf-openchamber-2.8.1.drv Using versionCheckHook Running phase: unpackPhase unpacking source archive /nix/store/65khqdybrgffz480a4fqs1gc32ihi87n-openchamber-src-with-lock source root is openchamber-src-with-lock Running phase: patchPhase Executing npmConfigHook Configuring npm Validating consistency between /nix/var/nix/builds/nix-17768-137837127/openchamber-src-with-lock/package-lock.json and /nix/store/wgq97a7brq24in0wq23bjdmzas5in63l-openchamber-2.8.1-npm-deps/package-lock.json Making cache writable Setting npm_config_cache to /nix/var/nix/builds/nix-17768-137837127/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/zod 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-17768-137837127/cache/_logs/2026-11-27T13_50_18_508Z-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" ]`