Running nixpkgs-update (https://nix-community.org/update-bot/) with UPDATE_INFO: _9router 0 -> 1 attrpath: _9router 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/dg3mvwwxjxh9gk65hgiv2swvpvxm43c9-packages.json.drv building '/nix/store/dg3mvwwxjxh9gk65hgiv2swvpvxm43c9-packages.json.drv'... structuredAttrs is enabled Going to be running update for following packages: - 9router-0.5.86 Press Enter key to continue... Running update for: Enqueuing group of 1 packages - 9router-0.5.86: UPDATING ... - 9router-0.5.86: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/by-name/_9/_9router/package.nix b/pkgs/by-name/_9/_9router/package.nix index 7f02d5023c9d..f466ca1be1f4 100644 --- a/pkgs/by-name/_9/_9router/package.nix +++ b/pkgs/by-name/_9/_9router/package.nix @@ -9,11 +9,11 @@ buildNpmPackage (finalAttrs: { __structuredAttrs = true; pname = "9router"; - version = "0.5.86"; + version = "0.5.95"; src = fetchzip { url = "https://registry.npmjs.org/9router/-/9router-${finalAttrs.version}.tgz"; - hash = "sha256-djgKrsZ19tbGQ5GEhYaMrolk7aU5wXVPClACTHYB2zI="; + hash = "sha256-IDcoy1Nys7PWXFQdtm8wUS26kwUj+quxJgqPzkXXmOQ="; }; npmDepsHash = "sha256-L1FsPonQR0CkezH6A3fQdIUwb5Tzd269CFO6NhhXbGQ="; 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 _9router nix build failed. got build log for '_9router' from 'daemon' structuredAttrs is enabled Running phase: unpackPhase @nix { "action": "setPhase", "phase": "unpackPhase" } unpacking source archive /nix/store/x5119mynn7v3sv8khxxpzjvi6xac2bhv-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/sz4fx9zypkd141k5a594b7axalmqp900-9router-0.5.95-npm-deps/package-lock.json Setting npm_config_cache to /nix/store/sz4fx9zypkd141k5a594b7axalmqp900-9router-0.5.95-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/confbox 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/sz4fx9zypkd141k5a594b7axalmqp900-9router-0.5.95-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" ]`