Skip to content

vikunja-desktop: pnpm_10_29_2 -> pnpm_10 - #537731

Merged
SuperSandro2000 merged 1 commit into
NixOS:masterfrom
mulatta:fix-vikunja-desktop-pnpm
Jul 2, 2026
Merged

SuperSandro2000 merged 1 commit into
NixOS:masterfrom
mulatta:fix-vikunja-desktop-pnpm

Conversation

@mulatta

@mulatta mulatta commented Jul 2, 2026 •

Copy link
Copy Markdown
Contributor

Switch vikunja-desktop away from insecure pnpm_10_29_2.

Because pnpm_10 exposes the known old electron-builder runtime dependency omission issue, also patch
the v2.3.0 desktop lockfile to use electron-builder 26.15.3, matching upstream main.

Things done

@nixpkgs-ci
nixpkgs-ci Bot requested a review from kolaente July 2, 2026 09:05
@nixpkgs-ci nixpkgs-ci Bot added 8.has: package (update) This PR updates a package to a newer version 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. labels Jul 2, 2026
@mulatta
mulatta force-pushed the fix-vikunja-desktop-pnpm branch from e074e9b to b23799b Compare July 2, 2026 09:23
@mulatta

mulatta commented Jul 2, 2026

Copy link
Copy Markdown
Contributor Author

upstream main already bumped to electron-builder 26.15.3. current nixpkgs package tracks v2.3.0, which still has 26.8.1. so this PR only removes insecure pnpm pin

next upstream release should bring proper dependency stack

@mulatta mulatta mentioned this pull request Jul 2, 2026
2 of 13 tasks
@mulatta

mulatta commented Jul 2, 2026

Copy link
Copy Markdown
Contributor Author

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 537731
Commit: b23799bfb6f33898c4a107d58318c89b84b4c5ee


aarch64-darwin

✅ 1 package built:
  • vikunja-desktop

@mulatta

mulatta commented Jul 2, 2026

Copy link
Copy Markdown
Contributor Author

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 537731
Commit: b23799bfb6f33898c4a107d58318c89b84b4c5ee


x86_64-linux

✅ 1 package built:
  • vikunja-desktop

@nixpkgs-review-gha

Copy link
Copy Markdown

✅ nixpkgs-review result

Generated using nixpkgs-review-gha (0a7f1f5)

Command: nixpkgs-review pr 537731
Commit: b23799bfb6f33898c4a107d58318c89b84b4c5ee (subsequent changes)
Merge: 6eb5e7d596d8feb1a6234b26f7c22aea7be07e8d

Triggered by @applePrincess (17154507)
Logs: https://github.com/applePrincess/nixpkgs-review-gha/actions/runs/28579749982/attempts/1

Download packages from cache:
  • x86_64-linux
    nix-store -r \
      --option binary-caches 'https://cache.nixos.org/ https://nixpkgs-review-gha-appleprincess.cachix.org' \
      --option trusted-public-keys '
        cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
        nixpkgs-review-gha-appleprincess.cachix.org-1:Lcqj6NTTNQxhQdLKNyOfqhEzwCk+oQI2uxssvV8zPDo=
      ' \
      /nix/store/zax3awrm8yx944x91vkamblzjrfcxawk-vikunja-desktop-2.3.0
  • aarch64-linux
    nix-store -r \
      --option binary-caches 'https://cache.nixos.org/ https://nixpkgs-review-gha-appleprincess.cachix.org' \
      --option trusted-public-keys '
        cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
        nixpkgs-review-gha-appleprincess.cachix.org-1:Lcqj6NTTNQxhQdLKNyOfqhEzwCk+oQI2uxssvV8zPDo=
      ' \
      /nix/store/sqf21xb3bfynrh73803jm1hyvh8igxml-vikunja-desktop-2.3.0
  • x86_64-darwin
    nix-store -r \
      --option binary-caches 'https://cache.nixos.org/ https://nixpkgs-review-gha-appleprincess.cachix.org' \
      --option trusted-public-keys '
        cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
        nixpkgs-review-gha-appleprincess.cachix.org-1:Lcqj6NTTNQxhQdLKNyOfqhEzwCk+oQI2uxssvV8zPDo=
      ' \
      /nix/store/f06bz5v11fqfv3ac0766hp5rx9ix5m2f-vikunja-desktop-2.3.0
  • aarch64-darwin
    nix-store -r \
      --option binary-caches 'https://cache.nixos.org/ https://nixpkgs-review-gha-appleprincess.cachix.org' \
      --option trusted-public-keys '
        cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
        nixpkgs-review-gha-appleprincess.cachix.org-1:Lcqj6NTTNQxhQdLKNyOfqhEzwCk+oQI2uxssvV8zPDo=
      ' \
      /nix/store/3l1d6w9glrdm4hc0v0qf0by9cz008sks-vikunja-desktop-2.3.0

x86_64-linux

✅ 1 package built:
  • vikunja-desktop

aarch64-linux

✅ 1 package built:
  • vikunja-desktop

x86_64-darwin (sandbox = relaxed)

✅ 1 package built:
  • vikunja-desktop

aarch64-darwin (sandbox = relaxed)

✅ 1 package built:
  • vikunja-desktop

pnpm_10_29_2 is marked insecure, so vikunja-desktop cannot be evaluated with default nixpkgs configuration.

The current pnpm_10 builds the existing lockfile with fetcherVersion 3 and keeps the pnpmDeps hash unchanged.
@mulatta
mulatta force-pushed the fix-vikunja-desktop-pnpm branch from b23799b to 7bde670 Compare July 2, 2026 09:57
@mulatta

mulatta commented Jul 2, 2026

Copy link
Copy Markdown
Contributor Author

I found a runtime packaging issue after switching this package to pnpm_10.

With pnpm_10 and the upstream v2.3.0 lockfile, vikunja-desktop starts but crashes with:

Error: Cannot find module 'ee-first'
Require stack:
- .../app.asar/node_modules/on-finished/index.js
- .../app.asar/node_modules/finalhandler/index.js
- .../app.asar/node_modules/express/lib/application.js

This is the known pnpm/electron-builder compatibility issue: pnpm 10.29.3 changed pnpm ls --json, and older electron-builder versions can omit transitive runtime dependencies from app.asar.

Vikunja v2.3.0 pins electron-builder 26.8.1; upstream main already uses electron-builder 26.15.3. I amended the package to apply a local patch generated from the v2.3.0 desktop lockfile with pnpm_10, using electron-builder 26.15.3 to match upstream main.

@applePrincess
applePrincess self-requested a review July 2, 2026 10:00
@nixpkgs-ci nixpkgs-ci Bot added the 12.approvals: 1 This PR was reviewed and approved by one person. label Jul 2, 2026
@nixpkgs-review-gha

Copy link
Copy Markdown

✅ nixpkgs-review result

Generated using nixpkgs-review-gha (0a7f1f5)

Command: nixpkgs-review pr 537731
Commit: 7bde67053f778a3e5f07b2892e5c282f15dea47a (subsequent changes)
Merge: 8b04f1532135a4eb50f9f107b3f54925ab388f58

Triggered by @applePrincess (17154507)
Logs: https://github.com/applePrincess/nixpkgs-review-gha/actions/runs/28584333576/attempts/1

Download packages from cache:
  • x86_64-linux
    nix-store -r \
      --option binary-caches 'https://cache.nixos.org/ https://nixpkgs-review-gha-appleprincess.cachix.org' \
      --option trusted-public-keys '
        cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
        nixpkgs-review-gha-appleprincess.cachix.org-1:Lcqj6NTTNQxhQdLKNyOfqhEzwCk+oQI2uxssvV8zPDo=
      ' \
      /nix/store/50smy33lh2lj2fy8rga97lbqnbam7vhm-vikunja-desktop-2.3.0
  • aarch64-linux
    nix-store -r \
      --option binary-caches 'https://cache.nixos.org/ https://nixpkgs-review-gha-appleprincess.cachix.org' \
      --option trusted-public-keys '
        cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
        nixpkgs-review-gha-appleprincess.cachix.org-1:Lcqj6NTTNQxhQdLKNyOfqhEzwCk+oQI2uxssvV8zPDo=
      ' \
      /nix/store/5snb980yrbmcl4xpclh9506zhlzhjxr8-vikunja-desktop-2.3.0
  • x86_64-darwin
    nix-store -r \
      --option binary-caches 'https://cache.nixos.org/ https://nixpkgs-review-gha-appleprincess.cachix.org' \
      --option trusted-public-keys '
        cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
        nixpkgs-review-gha-appleprincess.cachix.org-1:Lcqj6NTTNQxhQdLKNyOfqhEzwCk+oQI2uxssvV8zPDo=
      ' \
      /nix/store/jbvcm6bl5dg535rnlvfipjwmb0psqw47-vikunja-desktop-2.3.0
  • aarch64-darwin
    nix-store -r \
      --option binary-caches 'https://cache.nixos.org/ https://nixpkgs-review-gha-appleprincess.cachix.org' \
      --option trusted-public-keys '
        cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
        nixpkgs-review-gha-appleprincess.cachix.org-1:Lcqj6NTTNQxhQdLKNyOfqhEzwCk+oQI2uxssvV8zPDo=
      ' \
      /nix/store/bfhy48h7kpiq42xmky4kffpap04qwzbx-vikunja-desktop-2.3.0

x86_64-linux

✅ 1 package built:
  • vikunja-desktop

aarch64-linux

✅ 1 package built:
  • vikunja-desktop

x86_64-darwin (sandbox = relaxed)

✅ 1 package built:
  • vikunja-desktop

aarch64-darwin (sandbox = relaxed)

✅ 1 package built:
  • vikunja-desktop

@applePrincess

Copy link
Copy Markdown
Contributor

Now it works.
20260702_11h23m55s_grim

@SuperSandro2000
SuperSandro2000 added this pull request to the merge queue Jul 2, 2026
Merged via the queue into NixOS:master with commit c281d3d Jul 2, 2026
27 checks passed
@mulatta
mulatta deleted the fix-vikunja-desktop-pnpm branch July 2, 2026 12:34
@gepbird gepbird added the backport release-26.05 Backport PR automatically label Jul 8, 2026
@nixpkgs-ci

nixpkgs-ci Bot commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Backport failed for release-26.05, because it was unable to cherry-pick the commit(s).

Please cherry-pick the changes locally and resolve any conflicts.

git fetch origin release-26.05
git worktree add -d .worktree/backport-537731-to-release-26.05 origin/release-26.05
cd .worktree/backport-537731-to-release-26.05
git switch --create backport-537731-to-release-26.05
git cherry-pick -x 7bde67053f778a3e5f07b2892e5c282f15dea47a

@gepbird

gepbird commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Backport: #539665

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

8.has: package (update) This PR updates a package to a newer version 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: 1 This PR was reviewed and approved by one person. backport release-26.05 Backport PR automatically

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants