Skip to content

qui: update pnpmDeps' fetcherVersion from 3 to 4 - #524812

Merged
gepbird merged 1 commit into
NixOS:masterfrom
gepbird:qui-fetcherVersion-4
Jun 10, 2026
Merged

gepbird merged 1 commit into
NixOS:masterfrom
gepbird:qui-fetcherVersion-4

Conversation

@gepbird

@gepbird gepbird commented May 27, 2026

Copy link
Copy Markdown
Contributor

Pnpm 11 dependencies had a reproducibility issue on darwin, which is fixed with fetcherVersion = 4: #522703

Things done

@nixpkgs-ci
nixpkgs-ci Bot requested review from hesiod and pta2002 May 27, 2026 11:26
@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. 2.status: merge-bot eligible This PR can be merged by commenting "@NixOS/nixpkgs-merge-bot merge". labels May 27, 2026
@nixpkgs-ci nixpkgs-ci Bot added 12.approvals: 1 This PR was reviewed and approved by one person. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages. labels May 27, 2026
@hesiod

hesiod commented May 29, 2026

Copy link
Copy Markdown
Contributor

nixpkgs-review result

Generated using nixpkgs-review-gha

Command: nixpkgs-review pr 524812
Commit: 3141dfe178a7b41a89c8ddd0e66bf52947d2ab53 (subsequent changes)
Merge: 0a4ab226deb43c1648a9aa5acbeb90313267a5c8

Logs: https://github.com/hesiod/nixpkgs-review-gha/actions/runs/26630712578


x86_64-linux

✅ 1 package built:
  • qui

aarch64-linux

✅ 1 package built:
  • qui

x86_64-darwin (sandbox = relaxed)

❌ 1 package failed to build:
  • qui

aarch64-darwin (sandbox = relaxed)

❌ 1 package failed to build:
  • qui

@nixpkgs-ci nixpkgs-ci Bot added 12.approvals: 2 This PR was reviewed and approved by two persons. and removed 12.approvals: 1 This PR was reviewed and approved by one person. labels May 29, 2026
@hesiod

hesiod commented May 29, 2026

Copy link
Copy Markdown
Contributor

That nixpkgs-review result is rather confusing. I was expecting the new fetcher to fix the build issues, but apparently there is another Darwin-related fetcher bug in play here?

@gepbird

gepbird commented May 29, 2026

Copy link
Copy Markdown
Contributor Author

That nixpkgs-review result is rather confusing. I was expecting the new fetcher to fix the build issues, but apparently there is another Darwin-related fetcher bug in play here?

The final error from the log is:

2026-05-29T09:59:09.4366700Z qui-web-pnpm-deps> /nix/store/0y3vzjqz42dmyasywgr6ipcfb0nwdzvy-stdenv-darwin/setup: line 1831:  7511 Killed: 9                  pnpm install --force --ignore-scripts --registry="$NIX_NPM_REGISTRY" --frozen-lockfile

The OS sent a SIGKILL, I assume because it ran out of memory. Before that it spams the log with:

qui-web-pnpm-deps> (node:7511) Warning: File descriptor 46 opened in unmanaged mode twice
qui-web-pnpm-deps> (node:7511) Warning: File descriptor 46 closed but not opened in unmanaged mode
qui-web-pnpm-deps> (node:7511) Warning: File descriptor 46 opened in unmanaged mode twice
qui-web-pnpm-deps> (node:7511) Warning: File descriptor 46 closed but not opened in unmanaged mode

There are most likely problems with pnpm on darwin in general. I've noticed the same issues here: #522703 (comment), and the darwin build passed when SSH-ing into the GHA hosted darwin runner and running a nix build there.

@gepbird

gepbird commented Jun 10, 2026

Copy link
Copy Markdown
Contributor Author

On a darwin builder I checked the result of qui on this PR and a commit prior, both fail with the same message, unrelated to this PR:

> /nix/store/0y3vzjqz42dmyasywgr6ipcfb0nwdzvy-stdenv-darwin/setup: line 1827: 97369 Abort trap: 6
pnpm install --force --ignore-scripts --registry="$NIX_NPM_REGISTRY" --frozen-lockfile

It builds on Hydra (https://hydra.nixos.org/build/331391260), trying to reproduce it on the same builder results in a slightly different error:

> /nix/store/0y3vzjqz42dmyasywgr6ipcfb0nwdzvy-stdenv-darwin/setup: line 1826: 16774 Killed: 9
pnpm install --force --ignore-scripts --registry="$NIX_NPM_REGISTRY" --frozen-lockfile

In the above issue there's a PR mentioned that should fix similar nodejs packages on darwin.

@gepbird
gepbird added this pull request to the merge queue Jun 10, 2026
Merged via the queue into NixOS:master with commit dfaed94 Jun 10, 2026
36 of 38 checks passed
@gepbird
gepbird deleted the qui-fetcherVersion-4 branch June 10, 2026 23:09
nixos-cuda-channel-updater Bot pushed a commit to nixos-cuda/nixpkgs that referenced this pull request Sep 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2.status: merge-bot eligible This PR can be merged by commenting "@NixOS/nixpkgs-merge-bot merge". 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. 12.approvals: 2 This PR was reviewed and approved by two persons. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants