!vxTmkuJzhGPsMdkAOc:transformierende-gesellschaft.org

NixOS Matrix Subsystem

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

Load older messages


SenderMessageTime
13 Sep 2022
@dandellion:dodsorf.asDandellion * I know prisma does something similar (and we have that packaged) so that might be a place to look for inspiration if it doesn't work11:58:14
@hexa:lossy.networkhexa piegames: do your thing!!! 11:59:09
@piegames:matrix.orgpiegames
In reply to @hexa:lossy.network
piegames: do your thing!!!
No, I'm having way too much fun at work with the internals of the WebSocket protocol right now (:
12:00:02
@hexa:lossy.networkhexaanyway, thanks. I hate it.12:00:06
@dandellion:dodsorf.asDandellionthese rust bindings are going to show up in our element build at some point as well12:00:45
@hexa:lossy.networkhexayep, but at least that build isn't proper node2nix bs12:01:26
@hexa:lossy.networkhexa * yep, but at least that build isn't proper node2nix garbage12:01:31
@hexa:lossy.networkhexaI'd much rather have something less autogenerated as well ๐Ÿ˜•12:01:57
@hexa:lossy.networkhexabut I think right now that is only feasible for yarn projects?12:02:29
@f0x:pixie.townf0x
In reply to @hexa:lossy.network
they introduced rust bindings that want to download stuff whenever
at least on previous release you could resolve the older version https://git.pixie.town/f0x/matrix-appservice-irc/src/branch/main/package.json#L28
12:06:42
@hexa:lossy.networkhexafetchurl & autoPatchelf to the rescue12:07:43
@hexa:lossy.networkhexa * fetchurl & autoPatchelf to the rescue (works)12:09:18
@pacien:pacien.net@pacien:pacien.net
In reply to @hexa:lossy.network
they introduced rust bindings that want to download stuff whenever
I have the same issue with matrix-appservice-discord depending on the sdk depending on some rust implementation of olm. It has been proposed to just download the thing instead of trying to build from source, but that's not ideal: https://github.com/NixOS/nixpkgs/pull/186316#issuecomment-1236993401
12:43:38
@dandellion:dodsorf.asDandellionhttps://github.com/matrix-org/synapse/releases/tag/v1.67.0 was just released with a warning about requiring a rust compiler for 1.68 as well12:44:22
@hexa:lossy.networkhexa Notkea: ultimate someone needs to package matrix-sdk-rust 12:47:32
@hexa:lossy.networkhexa * Notkea: ultimately someone needs to package matrix-sdk-rust 12:47:36
@hexa:lossy.networkhexahttps://github.com/matrix-org/matrix-rust-sdk12:48:09
@pacien:pacien.net@pacien:pacien.netand matrix-sdk-crypto-nodejs, and napi-rs, and maybe moreโ€ฆ12:48:23
@hexa:lossy.networkhexayeah, but ideally I won't have to come up with that during a security update12:49:47
@hexa:lossy.networkhexaand ultimately maintainers should take care of such an endeavour12:50:01
@hexa:lossy.networkhexa
nix-repl> matrix-appservice-irc.meta.maintainers
[ ]
12:50:22
@hexa:lossy.networkhexahttps://github.com/NixOS/nixpkgs/pull/19106512:52:02
@hexa:lossy.networkhexaroast me12:52:02
@hexa:lossy.networkhexa piegames: so at least you are still codeowner ๐Ÿ˜„ 13:04:00
@f0x:pixie.townf0xoof13:06:01
@f0x:pixie.townf0xfwiw pinning the resolution is a working patch too13:06:13
@hexa:lossy.networkhexabut that is pretty much downgrading the dependency?13:07:40
@hexa:lossy.networkhexaI have neither time nor expertise to evaluate possible breakages before they hit production13:08:07
@f0x:pixie.townf0x
In reply to @hexa:lossy.network
but that is pretty much downgrading the dependency?
yeah, so it doesn't depend on the rust stuff
13:08:41
@f0x:pixie.townf0xand the bridge uses none of the crypto stuff anyways13:08:54

Show newer messages


Back to Room ListRoom Version: 4