13 Sep 2022 |
hexa | anyway, thanks. I hate it. | 12:00:06 |
Dandellion | these rust bindings are going to show up in our element build at some point as well | 12:00:45 |
hexa | yep, but at least that build isn't proper node2nix bs | 12:01:26 |
hexa | * yep, but at least that build isn't proper node2nix garbage | 12:01:31 |
hexa | I'd much rather have something less autogenerated as well π | 12:01:57 |
hexa | but I think right now that is only feasible for yarn projects? | 12:02:29 |
f0x | 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 | fetchurl & autoPatchelf to the rescue | 12:07:43 |
hexa | * fetchurl & autoPatchelf to the rescue (works) | 12:09:18 |
@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 | https://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 well | 12:44:22 |
hexa | Notkea: ultimate someone needs to package matrix-sdk-rust | 12:47:32 |
hexa | * Notkea: ultimately someone needs to package matrix-sdk-rust | 12:47:36 |
hexa | https://github.com/matrix-org/matrix-rust-sdk | 12:48:09 |
@pacien:pacien.net | and matrix-sdk-crypto-nodejs,
and napi-rs,
and maybe more⦠| 12:48:23 |
hexa | yeah, but ideally I won't have to come up with that during a security update | 12:49:47 |
hexa | and ultimately maintainers should take care of such an endeavour | 12:50:01 |
hexa | nix-repl> matrix-appservice-irc.meta.maintainers
[ ]
| 12:50:22 |
hexa | https://github.com/NixOS/nixpkgs/pull/191065 | 12:52:02 |
hexa | roast me | 12:52:02 |
hexa | piegames: so at least you are still codeowner π | 13:04:00 |
f0x | oof | 13:06:01 |
f0x | fwiw pinning the resolution is a working patch too | 13:06:13 |
hexa | but that is pretty much downgrading the dependency? | 13:07:40 |
hexa | I have neither time nor expertise to evaluate possible breakages before they hit production | 13:08:07 |
f0x | 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 | and the bridge uses none of the crypto stuff anyways | 13:08:54 |
f0x | but fair, yeah | 13:09:00 |
hexa | wow π | 13:09:06 |
f0x | it's a dependency downgrade, but still in the supported semver by matrix-appservice-bridge^3.2.0 | 13:11:41 |