!vxTmkuJzhGPsMdkAOc:transformierende-gesellschaft.org

NixOS Matrix Subsystem

130 Members
Coordination and discussion about the matrix subsystem in NixOS - https://nixos.wiki/wiki/Matrix63 Servers

Load older messages


SenderMessageTime
14 May 2022
@sumner:nevarro.spaceSumner 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:dodsorf.asDandellionImport from derivation02:01:49
@dandellion:dodsorf.asDandellionbasically 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 nixpkgs02:03:05
@dandellion:dodsorf.asDandellionI've attempted to do this whole thing myself to run some patches, but it's pretty hard02:04:33
@dandellion:dodsorf.asDandellionI hope you managed to crack it!02:04:39
@dandellion:dodsorf.asDandellion * I hope you manage to crack it!02:05:00
@sumner:nevarro.spaceSumner 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:dodsorf.asDandellionThe 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:nevarro.spaceSumner 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:nevarro.spaceSumner 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:dodsorf.asDandellionthat's less hacky than what I imagined so that's neat02:13:25
@sumner:nevarro.spaceSumner EvansIf this gets merged, then I'll probably refactor matrix-react-sdk and matrix-js-sdk out as well to make overriding them easier02:13:58
@dandellion:dodsorf.asDandellionthat'd be great I think02:14:10
@sumner:nevarro.spaceSumner Evansya, those are the two projects where actual changes happen haha02:14:26
@dandellion:dodsorf.asDandellionI'm sitting on a >greentext command patch that I never bothered to deploy after it was rejected from upstream02:14:51
@sumner:nevarro.spaceSumner Evansgreentext?02:15:10
@dandellion:dodsorf.asDandellionhttps://github.com/matrix-org/matrix-react-sdk/pull/583502:16:13
@sumner:nevarro.spaceSumner Evansmy 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 it02:17:46
@dandellion:dodsorf.asDandellion👀 you have an element custom emote patch that isn't in license-hell 👀 02:18:30
@dandellion:dodsorf.asDandellion * 👀 you have an element custom emote patch that isn't in license-hell? 👀 02:18:35
@dandellion:dodsorf.asDandellion * 👀 you have an element-web custom emote patch that isn't in license-hell? 👀 02:18:48
@sumner:nevarro.spaceSumner 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:dodsorf.asDandellionponies.im, the OG custom emote element fork is licensed under a very strange unvetted license02:19:43
@sumner:nevarro.spaceSumner Evansoh interesting. https://github.com/sumnerevans/matrix-react-sdk/commit/70aeda0b6fd726587ff4c3c73c2039091685959d#diff-1fd377da084a5ab2202096d5f96c26e23166890b6e0556229bda69cd6461afd2R134-R145 is all it is haha02:20:10
@dandellion:dodsorf.asDandellionneat!02:22:07
@sumner:nevarro.spaceSumner 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:furiosa.orgluxus joined the room.10:51:40
16 May 2022
@sumner:nevarro.spaceSumner EvansCould 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/17292816:08:30
18 May 2022
@marius851000:newsmatrix.pmdcollab.org@marius851000:newsmatrix.pmdcollab.org left the room.18:41:40
19 May 2022
@florian:wolkenplanet.deFlorian 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

Show newer messages


Back to Room ListRoom Version: 4