Running nixpkgs-update (https://nix-community.org/update-bot/) with UPDATE_INFO: corestore 0 -> 1 attrpath: corestore Checking auto update branch... [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] skipping because derivation has updateScript [updateScript] [updateScript] Success [updateScript] this derivation will be built: /nix/store/5ywln7z5wyv3ifa666pdpbchawwg2npn-packages.json.drv building '/nix/store/5ywln7z5wyv3ifa666pdpbchawwg2npn-packages.json.drv'... Going to be running update for following packages: - corestore-7.4.7 Press Enter key to continue... Running update for: Enqueuing group of 1 packages - corestore-7.4.7: UPDATING ... - corestore-7.4.7: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/by-name/co/corestore/package.nix b/pkgs/by-name/co/corestore/package.nix index d8824357fb81..f82831ded80d 100644 --- a/pkgs/by-name/co/corestore/package.nix +++ b/pkgs/by-name/co/corestore/package.nix @@ -7,13 +7,13 @@ buildNpmPackage (finalAttrs: { pname = "corestore"; - version = "7.4.7"; + version = "7.7.0"; src = fetchFromGitHub { owner = "holepunchto"; repo = "corestore"; tag = "v${finalAttrs.version}"; - hash = "sha256-/UhiuEBoAJc1U2/VYVWLyEGcXUndH0QmM++FN4KCTHo="; + hash = "sha256-DCJTCcRcaRJ+5Giy6ThOLAMoqBr5JkR2hAkqt+ALLeE="; }; npmDepsHash = "sha256-hQYvQeTwlIWImdNhgpnJjDC24Fx4G0eST7tptWV1Xgw="; No auto update branch exists Received ExitFailure 1 when running Raw command: nix-build --option sandbox true --arg config "{ allowUnfree = true; allowAliases = false; }" --arg overlays "[ ]" -A corestore nix build failed. got build log for 'corestore' from 'daemon' Running phase: unpackPhase @nix { "action": "setPhase", "phase": "unpackPhase" } unpacking source archive /nix/store/qvxdhyg9sd6pa860w8j7ah0v5j2ssfak-source source root is source Running phase: patchPhase @nix { "action": "setPhase", "phase": "patchPhase" } Executing npmConfigHook Configuring npm Validating consistency between /build/source/package-lock.json and /nix/store/zb0ds006qzwki5fzk1rvm5lc6i21qh3r-corestore-7.7.0-npm-deps/package-lock.json Setting npm_config_cache to /nix/store/zb0ds006qzwki5fzk1rvm5lc6i21qh3r-corestore-7.7.0-npm-deps Installing dependencies npm warn Unknown env config "nodedir". This will stop working in the next major version of npm. npm warn Unknown env config "platform". This will stop working in the next major version of npm. npm warn Unknown env config "arch". This will stop working in the next major version of npm. npm error code ENOTCACHED npm error request to https://registry.npmjs.org/hypercore 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/zb0ds006qzwki5fzk1rvm5lc6i21qh3r-corestore-7.7.0-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 `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. 2. Set `npmFlags = [ "--legacy-peer-deps" ]`