NixOS Matrix Subsystem | 159 Members | |
| Coordination and discussion about the matrix subsystem in NixOS - https://wiki.nixos.org/wiki/Matrix | 80 Servers |
| Sender | Message | Time |
|---|---|---|
| 9 May 2022 | ||
| 12:26:56 | ||
| 14 May 2022 | ||
| I'm trying to convert the element-web build to build from source: https://github.com/NixOS/nixpkgs/pull/172928 I'm running into the following error:
I thought that I could avoid having to download the | 01:42:47 | |
| I wouldnt be surprised if that'd lead to an IFD | 02:00:22 | |
In reply to @dandellion:dodsorf.aswhat's an IFD? | 02:00:45 | |
| Import from derivation | 02:01:49 | |
| basically when you have to do things in nix based on what's inside a derivation, it moves realising that derivation to the evaluation step. Which is obviously problematic and banned in nixpkgs | 02:03:05 | |
| I've attempted to do this whole thing myself to run some patches, but it's pretty hard | 02:04:33 | |
| I hope you managed to crack it! | 02:04:39 | |
| * I hope you manage to crack it! | 02:05:00 | |
In reply to @dandellion:dodsorf.asoh, that makes sense... not sure why the mkYarnPackage has that as default then | 02:05:05 | |
| The absolute end-goal for the element packages would probably be to package matrix-react-sdk separately and using that build element-web and using that to build the electron app. But that's like, prohibitively difficult I think | 02:10:19 | |
In reply to @dandellion:dodsorf.as🤞 ideally once it's merged, you should be able to override matrix-react-sdk and matrix-js-sdk with your own fork (https://github.com/sumnerevans/home-manager-config/blob/master/modules/communication.nix) | 02:10:22 | |
In reply to @dandellion:dodsorf.asI was actually wondering about that... it's definitely not impossible: https://github.com/sumnerevans/home-manager-config/blob/master/pkgs/element/matrix-react-sdk.nix | 02:11:02 | |
| that's less hacky than what I imagined so that's neat | 02:13:25 | |
| If this gets merged, then I'll probably refactor matrix-react-sdk and matrix-js-sdk out as well to make overriding them easier | 02:13:58 | |
| that'd be great I think | 02:14:10 | |
| ya, those are the two projects where actual changes happen haha | 02:14:26 | |
| I'm sitting on a >greentext command patch that I never bothered to deploy after it was rejected from upstream | 02:14:51 | |
| greentext? | 02:15:10 | |
| https://github.com/matrix-org/matrix-react-sdk/pull/5835 | 02:16:13 | |
| my motivation was that Beeper implemented custom emojis (just putting an MXC URI into the key of the reaction) and all my coworkers are using them, but I'm using Element and couldn't see them, and also I finally got annoyed enough by https://github.com/matrix-org/matrix-react-sdk/pull/8590 that I decided to go fix it | 02:17:46 | |
| 👀 you have an element custom emote patch that isn't in license-hell 👀 | 02:18:30 | |
| * 👀 you have an element custom emote patch that isn't in license-hell? 👀 | 02:18:35 | |
| * 👀 you have an element-web custom emote patch that isn't in license-hell? 👀 | 02:18:48 | |
In reply to @dandellion:dodsorf.aswhat do you mean license hell? | 02:19:04 | |
| ponies.im, the OG custom emote element fork is licensed under a very strange unvetted license | 02:19:43 | |
| oh interesting. https://github.com/sumnerevans/matrix-react-sdk/commit/70aeda0b6fd726587ff4c3c73c2039091685959d#diff-1fd377da084a5ab2202096d5f96c26e23166890b6e0556229bda69cd6461afd2R134-R145 is all it is haha | 02:20:10 | |
| neat! | 02:22:07 | |
In reply to @dandellion:dodsorf.asLooks like that was exactly what it was. Thanks for the hint! The build is fixed now: https://github.com/NixOS/nixpkgs/pull/172928. Hoping that someone with power can get that merged. | 04:18:40 | |
| 15 May 2022 | ||
| 10:51:40 | ||