Running nixpkgs-update (https://github.com/NixOS/infra/blob/main/non-critical-infra/modules/nixpkgs-update/README.md) with UPDATE_INFO: firebase-tools 15.34.1 -> 15.35.0 https://github.com/firebase/firebase-tools/releases attrpath: firebase-tools 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/sy811rj79ka34g1x0p2hpqx1vagpi9d3-packages.json.drv building '/nix/store/sy811rj79ka34g1x0p2hpqx1vagpi9d3-packages.json.drv'... Going to be running update for following packages: - firebase-tools-15.34.1 Press Enter key to continue... Running update for: Enqueuing group of 1 packages - firebase-tools-15.34.1: UPDATING ... - firebase-tools-15.34.1: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/by-name/fi/firebase-tools/package.nix b/pkgs/by-name/fi/firebase-tools/package.nix index 5db982999e2d..e79c31db0a51 100644 --- a/pkgs/by-name/fi/firebase-tools/package.nix +++ b/pkgs/by-name/fi/firebase-tools/package.nix @@ -10,16 +10,16 @@ buildNpmPackage (finalAttrs: { pname = "firebase-tools"; - version = "15.34.1"; + version = "15.35.0"; src = fetchFromGitHub { owner = "firebase"; repo = "firebase-tools"; tag = "v${finalAttrs.version}"; - hash = "sha256-aD1yACx2n5EjjyC0+9U81P6JXbW+mGNMdHGvB+Lpixs="; + hash = "sha256-68uVgTYsIgzOxRhVV38c4aflknfwJ3Kt6FJPiPfavTw="; }; - npmDepsHash = "sha256-2pd9XLhWeSmEfaahemJyoCvEOUZq3945bbyW1C0d9zM="; + npmDepsHash = "sha256-ol3CqLmCPAAIC/DW5pzA8DXTSrbfy0k0+zsN7I0m2wE="; # No more package-lock.json in upstream src postPatch = '' 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 firebase-tools nix build failed. got build log for 'firebase-tools' from 'daemon' Running phase: unpackPhase @nix { "action": "setPhase", "phase": "unpackPhase" } unpacking source archive /nix/store/irqlfrfj179k608v5h65wj6iff0qxrjr-source source root is source Running phase: patchPhase @nix { "action": "setPhase", "phase": "patchPhase" } Executing npmConfigHook Configuring npm Validating consistency between /build/source/npm-shrinkwrap.json and /nix/store/3jcyh8hwqknj01jk66j1ij02rch24183-firebase-tools-15.35.0-npm-deps/package-lock.json Fixing lockfile Setting npm_config_cache to /nix/store/3jcyh8hwqknj01jk66j1ij02rch24183-firebase-tools-15.35.0-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/ajv 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/3jcyh8hwqknj01jk66j1ij02rch24183-firebase-tools-15.35.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 `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" ]`