14 May 2022 |
Sumner Evans | In reply to @dandellion:dodsorf.as I wouldnt be surprised if that'd lead to an IFD what's an IFD? | 02:00:45 |
Dandellion | Import from derivation | 02:01:49 |
Dandellion | 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 |
Dandellion | I've attempted to do this whole thing myself to run some patches, but it's pretty hard | 02:04:33 |
Dandellion | I hope you managed to crack it! | 02:04:39 |
Dandellion | * I hope you manage to crack it! | 02:05:00 |
Sumner Evans | In reply to @dandellion:dodsorf.as 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 oh, that makes sense... not sure why the mkYarnPackage has that as default then | 02:05:05 |
Dandellion | 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 |
Sumner Evans | In reply to @dandellion:dodsorf.as I hope you manage to crack it! 🤞 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 |
Sumner Evans | In reply to @dandellion:dodsorf.as 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 I 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 |
Dandellion | that's less hacky than what I imagined so that's neat | 02:13:25 |
Sumner Evans | 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 |
Dandellion | that'd be great I think | 02:14:10 |
Sumner Evans | ya, those are the two projects where actual changes happen haha | 02:14:26 |
Dandellion | I'm sitting on a >greentext command patch that I never bothered to deploy after it was rejected from upstream | 02:14:51 |
Sumner Evans | greentext? | 02:15:10 |
Dandellion | https://github.com/matrix-org/matrix-react-sdk/pull/5835 | 02:16:13 |
Sumner Evans | 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 |
Dandellion | 👀 you have an element custom emote patch that isn't in license-hell 👀 | 02:18:30 |
Dandellion | * 👀 you have an element custom emote patch that isn't in license-hell? 👀 | 02:18:35 |
Dandellion | * 👀 you have an element-web custom emote patch that isn't in license-hell? 👀 | 02:18:48 |
Sumner Evans | In reply to @dandellion:dodsorf.as 👀 you have an element-web custom emote patch that isn't in license-hell? 👀 what do you mean license hell? | 02:19:04 |
Dandellion | ponies.im, the OG custom emote element fork is licensed under a very strange unvetted license | 02:19:43 |
Sumner Evans | oh interesting. https://github.com/sumnerevans/matrix-react-sdk/commit/70aeda0b6fd726587ff4c3c73c2039091685959d#diff-1fd377da084a5ab2202096d5f96c26e23166890b6e0556229bda69cd6461afd2R134-R145 is all it is haha | 02:20:10 |
Dandellion | neat! | 02:22:07 |
Sumner Evans | In reply to @dandellion:dodsorf.as I wouldnt be surprised if that'd lead to an IFD Looks 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 |
| luxus joined the room. | 10:51:40 |
16 May 2022 |
Sumner Evans | Could I get some more eyes on this? I think it would be good to get it in before the 22.05 cutoff: https://github.com/NixOS/nixpkgs/pull/172928 | 16:08:30 |
18 May 2022 |
| @marius851000:newsmatrix.pmdcollab.org left the room. | 18:41:40 |
19 May 2022 |
Florian | if anyone of you happens to be in Karlsruhe, Germany this weekend, ma27 and me are hosting a NixOS meetup at GPN20 on Saturday - both of us are also especially interested in the intersection of NixOS and Matrix, would be happy to meet anyone of you there. 😄 | 12:41:33 |