-
-
Notifications
You must be signed in to change notification settings - Fork 14.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
element-desktop: build native modules #132601
Conversation
Encrypted message search is confirmed working on my NixOS machine via |
Result of 1 package built successfully:
3 suggestions:
Result of 1 package built successfully:
|
Same issue as described in https://discourse.nixos.org/t/future-of-npm-packages-in-nixpkgs/14285/13 |
Result of 1 package built:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm a bit late to the party but can confirm the application builds on nixos x86_64-linux, indexed my encrypted messages and search results of encrypted messages do appear on my application.
Successfully created backport PR #132633 for |
chmod u+w . ./yarn.lock | ||
export HOME=/tmp | ||
yarn config --offline set yarn-offline-mirror ${yarnOfflineCache} | ||
${fixup_yarn_lock}/bin/fixup_yarn_lock yarn.lock |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why isn't fixup_yarn_lock
in nativeBuildInputs
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
GitLab has the same mistake/improvement
Motivation for this change
Fixes #87752.
Since matrix-seshat has a release with N-API support now, we can completely ignore the hak build system and electron, and link it together afterwards.
Just as the previous solution - this works on my machines. If it doesn't work on your machine, please go into as much detail as possible. I don't plan on debugging this much further if someone just posts "It doesn't work".
Also, even if some people have problems with this, it might still be better than no support at all.
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)