Skip to content

element-{web,desktop}: 1.11.91 -> 1.11.95 - #381196

Merged
yuyuyureka merged 4 commits into
NixOS:masterfrom
transcaffeine:element-web-desktop/1.11.92
Mar 12, 2025
Merged

yuyuyureka merged 4 commits into
NixOS:masterfrom
transcaffeine:element-web-desktop/1.11.92

Conversation

@transcaffeine

@transcaffeine transcaffeine commented Feb 11, 2025 •

Copy link
Copy Markdown
Member

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 25.05 Release Notes (or backporting 24.11 and 25.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

@github-actions github-actions Bot added 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. labels Feb 11, 2025
@NickCao

NickCao commented Feb 13, 2025

Copy link
Copy Markdown
Member

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 381196


x86_64-linux

❌ 1 package failed to build:
  • element-desktop
✅ 1 package built:
  • element-web (element-web-unwrapped)

@teutat3s

Copy link
Copy Markdown
Member

Waiting for https://nixpk.gs/pr-tracker.html?pr=380954 to reach the binary cache, can't build electron + element-desktop right now.

@teutat3s

teutat3s commented Feb 13, 2025 •

Copy link
Copy Markdown
Member

Looks like element-desktop build wants to use git for something now:

yarn install v1.22.22
[1/5] Validating package.json...
[2/5] Resolving packages...
warning Resolution field "@types/[email protected]" is incompatible with requested version "@types/node@^17.0.36"
error Couldn't find the binary git

EDIT: Only found something similar in #299269

@sumnerevans
sumnerevans removed their request for review February 13, 2025 17:54
@transcaffeine
transcaffeine force-pushed the element-web-desktop/1.11.92 branch from cd2fce9 to e85ff48 Compare February 25, 2025 18:23
@transcaffeine transcaffeine changed the title element-{web,desktop}: 1.11.91 -> 1.11.92 element-{web,desktop}: 1.11.91 -> 1.11.9{3,2} Feb 25, 2025
@transcaffeine
transcaffeine marked this pull request as draft February 25, 2025 18:25
@transcaffeine

Copy link
Copy Markdown
Member Author

With element-desktop having updated to a node-gyp version in it's yarn.lock which resolves to a github URL, this seems to be currently blocked until fixup-yarn-lock can handle this case.
See https://raw.githubusercontent.com/element-hq/element-desktop/refs/heads/develop/yarn.lock @electron/node-gyp -> resolved

@transcaffeine
transcaffeine force-pushed the element-web-desktop/1.11.92 branch from e85ff48 to 948fcf4 Compare February 27, 2025 14:56
@transcaffeine transcaffeine changed the title element-{web,desktop}: 1.11.91 -> 1.11.9{3,2} element-{web,desktop}: 1.11.91 -> 1.11.94 Feb 27, 2025
@transcaffeine
transcaffeine force-pushed the element-web-desktop/1.11.92 branch 6 times, most recently from e488bbb to 8ef5cc9 Compare February 28, 2025 08:59
@transcaffeine
transcaffeine marked this pull request as ready for review February 28, 2025 08:59
@transcaffeine

Copy link
Copy Markdown
Member Author

While this does build and works (atleast from what i can tell), i am very unhappy about not solving the "yarn install --offline ignores the tarball from fetchYarnDeps"... This is honestly not a pretty workaround :/

@transcaffeine

Copy link
Copy Markdown
Member Author

On aarch64-darwin, some nodejs import error pops up, but the app runs fine otherwise. A lot of ENOENT for translation files are thrown in the stderr (also aarch64-darwin), but the language selector in the app works - and the sidebar icon is a generic Electron Icon titled Electron, so something is still off :/

@BonusPlay BonusPlay left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tested element-desktop on x86 and it works, but I'm also not very happy about the yarn.nix hack

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 381196


x86_64-linux

✅ 2 packages built:
  • element-desktop
  • element-web (element-web-unwrapped)

@ofborg ofborg Bot added the 2.status: merge conflict This PR has merge conflicts with the target branch label Mar 11, 2025
@transcaffeine
transcaffeine force-pushed the element-web-desktop/1.11.92 branch from aed15a0 to 41ecfc3 Compare March 11, 2025 21:16
@ofborg ofborg Bot removed the 2.status: merge conflict This PR has merge conflicts with the target branch label Mar 11, 2025
@transcaffeine

Copy link
Copy Markdown
Member Author

With @teutat3s patch to keytar, i was able to successfully build and run [email protected]

@transcaffeine transcaffeine changed the title element-{web,desktop}: 1.11.91 -> 1.11.94 element-{web,desktop}: 1.11.91 -> 1.11.95 Mar 11, 2025

@teutat3s teutat3s left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for keeping this PR going. I have two comments/nits.

@transcaffeine
transcaffeine force-pushed the element-web-desktop/1.11.92 branch from 41ecfc3 to 1a5f1dd Compare March 12, 2025 10:30
@transcaffeine
transcaffeine requested a review from teutat3s March 12, 2025 10:31

@teutat3s teutat3s left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested working on my machine

@teutat3s teutat3s 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 Mar 12, 2025
Comment on lines +31 to 32
owner = "shiftkey";
repo = "node-keytar";

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not a fan of this change, but this is what the upstream did
element-hq/element-desktop#2172

@wegank wegank 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 Mar 12, 2025
@yuyuyureka
yuyuyureka merged commit d7e20d8 into NixOS:master Mar 12, 2025
@nixpkgs-ci

nixpkgs-ci Bot commented Mar 12, 2025

Copy link
Copy Markdown
Contributor

Successfully created backport PR for release-24.11:

nixpkgs-ci Bot pushed a commit that referenced this pull request Jun 9, 2025
@transcaffeine
transcaffeine deleted the element-web-desktop/1.11.92 branch August 8, 2025 19:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages 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.

8 participants