Running nixpkgs-update (https://github.com/NixOS/infra/blob/main/non-critical-infra/modules/nixpkgs-update/README.md) with UPDATE_INFO: dopamine 3.0.9 -> 3.0.12 https://github.com/digimezzo/dopamine/releases attrpath: dopamine Checking auto update branch... No auto update branch exists [version] [version] generic version rewriter does not support multiple hashes [rustCrateVersion] [rustCrateVersion] No cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorHash [npmDepsVersion] [npmDepsVersion] Replacing npmDepsHash with sha256-OoZobxFiWq27eLaJrM2R8iEt/mZEVTosf7zyOY8nMgM= Received ExitFailure 1 when running Raw command: nix-build --option sandbox true --arg config "{ allowUnfree = true; allowAliases = false; }" --arg overlays "[ ]" -A dopamine nix build failed. Hunk #1 succeeded at 18162 (offset -141 lines). patching file package.json Hunk #1 succeeded at 119 (offset 3 lines). applying patch /nix/store/2c7wf330j0crm787dl91pds8znncvqi0-bump-better-sqlite3.patch patching file package-lock.json Hunk #2 succeeded at 10200 (offset -153 lines). Hunk #3 succeeded at 10210 (offset -153 lines). patching file package.json Hunk #1 succeeded at 101 with fuzz 2 (offset 3 lines). Executing npmConfigHook Configuring npm Validating consistency between /build/source/package-lock.json and /nix/store/sjw9plwzvnxh901kbhqnw625shvzlbjm-dopamine-3.0.12-npm-deps/package-lock.json Setting npm_config_cache to /nix/store/sjw9plwzvnxh901kbhqnw625shvzlbjm-dopamine-3.0.12-npm-deps 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/@jsquash%2fwebp failed: cache mode is 'only-if-cached' but no cached response is available. npm error Log files were not written due to an error writing to the directory: /nix/store/sjw9plwzvnxh901kbhqnw625shvzlbjm-dopamine-3.0.12-npm-deps/_logs npm error You can rerun the command with `--loglevel=verbose` to see the logs in your terminal 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" ]`