Running nixpkgs-update (https://nix-community.org/update-bot/) with UPDATE_INFO: netlify-cli 23.15.0 -> 27.11.2 https://github.com/netlify/cli/releases attrpath: netlify-cli 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/5m2ypjlwn3mmbmisnxa3rjn1s44ri7n9-packages.json.drv building '/nix/store/5m2ypjlwn3mmbmisnxa3rjn1s44ri7n9-packages.json.drv'... structuredAttrs is enabled Going to be running update for following packages: - netlify-cli-23.15.0 Press Enter key to continue... Running update for: Enqueuing group of 1 packages - netlify-cli-23.15.0: UPDATING ... - netlify-cli-23.15.0: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/by-name/ne/netlify-cli/package.nix b/pkgs/by-name/ne/netlify-cli/package.nix index 4765aeb9b804..65169d01840b 100644 --- a/pkgs/by-name/ne/netlify-cli/package.nix +++ b/pkgs/by-name/ne/netlify-cli/package.nix @@ -11,13 +11,13 @@ buildNpmPackage rec { pname = "netlify-cli"; - version = "23.15.0"; + version = "27.11.2"; src = fetchFromGitHub { owner = "netlify"; repo = "cli"; tag = "v${version}"; - hash = "sha256-y81VmYt5NDXNcipPY4DIWDICF3a0eETJVQRFRATi1Dk="; + hash = "sha256-5hZbc3A6aPpi8I4vJ5O2CXq5/ZDkHlH4BCir2XZuxFE="; }; # Prevent postinstall script from running before package is built @@ -27,7 +27,7 @@ buildNpmPackage rec { touch .git ''; - npmDepsHash = "sha256-yKDLaNIofYLsoWvxaZUfY+LyVd/s4NGD+LEmd9Y7CAA="; + npmDepsHash = "sha256-oWtsajf7thbbP3YKTjTOgOtkd+Kn5RWKyYTZJgzQG0M="; inherit nodejs; 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 netlify-cli nix build failed. got build log for 'netlify-cli' from 'daemon' Running phase: unpackPhase @nix { "action": "setPhase", "phase": "unpackPhase" } unpacking source archive /nix/store/ga8vgg3vyhyfqv3kzzbx3kxgms8zwa5n-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/aj3s78prfaw4bmjxkjnc08s6cs9kddgs-netlify-cli-27.11.2-npm-deps/package-lock.json Setting npm_config_cache to /nix/store/aj3s78prfaw4bmjxkjnc08s6cs9kddgs-netlify-cli-27.11.2-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/yocto-queue 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/aj3s78prfaw4bmjxkjnc08s6cs9kddgs-netlify-cli-27.11.2-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" ]`