Running nixpkgs-update (https://nix-community.org/update-bot/) with UPDATE_INFO: pi-coding-agent 0.73.0 -> 0.74.0 https://github.com/badlogic/pi-mono/releases attrpath: pi-coding-agent 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/084a99skar8jlsx48h6v9k8z390qb6pa-packages.json.drv building '/nix/store/084a99skar8jlsx48h6v9k8z390qb6pa-packages.json.drv'... Going to be running update for following packages: - pi-coding-agent-0.73.0 Press Enter key to continue... Running update for: Enqueuing group of 1 packages - pi-coding-agent-0.73.0: UPDATING ... - pi-coding-agent-0.73.0: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/by-name/pi/pi-coding-agent/package.nix b/pkgs/by-name/pi/pi-coding-agent/package.nix index 7a1374f3f89a..5d076905ac2c 100644 --- a/pkgs/by-name/pi/pi-coding-agent/package.nix +++ b/pkgs/by-name/pi/pi-coding-agent/package.nix @@ -10,16 +10,16 @@ }: buildNpmPackage (finalAttrs: { pname = "pi-coding-agent"; - version = "0.73.0"; + version = "0.74.0"; src = fetchFromGitHub { owner = "badlogic"; repo = "pi-mono"; tag = "v${finalAttrs.version}"; - hash = "sha256-oE4zMH5KEH185Vdp0CE221sa9rJJw35jFLlfhTa3Sg4="; + hash = "sha256-wEiqOezD8w08vyuenh3Kk+YCYBbQoEq67wATDEKy5XM="; }; - npmDepsHash = "sha256-rBlAzAnP9aif1tZ984AO4HftIJsDgLQ+02J3td4jcRg="; + npmDepsHash = "sha256-lEXlHPXWgOnJ+msmkM6JSuoJmKpLggoVuXDDTrZcYAU="; npmWorkspace = "packages/coding-agent"; 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 pi-coding-agent nix build failed. got build log for 'pi-coding-agent' from 'daemon' Using versionCheckHook Running phase: unpackPhase @nix { "action": "setPhase", "phase": "unpackPhase" } unpacking source archive /nix/store/sx84aaadgn8vryx9ncpgva8mvq1kd6yg-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/fi6w5qmzn2zzj9f4csn37hwlgwz7gblx-pi-coding-agent-0.74.0-npm-deps/package-lock.json Setting npm_config_cache to /nix/store/fi6w5qmzn2zzj9f4csn37hwlgwz7gblx-pi-coding-agent-0.74.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/undici-types 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/fi6w5qmzn2zzj9f4csn37hwlgwz7gblx-pi-coding-agent-0.74.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" ]`