!vxTmkuJzhGPsMdkAOc:transformierende-gesellschaft.org

NixOS Matrix Subsystem

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

Load older messages


SenderMessageTime
13 Sep 2022
@hexa:lossy.networkhexahttps://matrix.org/blog/2022/09/13/security-release-of-matrix-appservice-irc-0-35-0-high-severity16:25:22
@hexa:lossy.networkhexaunstable-small has the bump fwiw16:25:29
@pacien:pacien.net@pacien:pacien.net
In reply to @hexa:lossy.network
roast me
(╯°□°)╯︵ ┻━┻
(ノಠ益ಠ)ノ✂️
https://github.com/NixOS/nixpkgs/pull/186316#discussion_r970080894
21:06:14
@hexa:lossy.networkhexa Notkea: if you could try building the rust native thing, unless you're in a hurry 21:07:23
@hexa:lossy.networkhexathat would be neat21:07:29
@pacien:pacien.net@pacien:pacien.netI tried. This requires napi-rs, which requires Yarn v2, whose lock format isn't supported by our yarn2nix…21:08:05
@hexa:lossy.networkhexaoh boy21:08:23
@hexa:lossy.networkhexa invited @winterqt:nixos.devWinter (she/her).21:08:28
@hexa:lossy.networkhexawinter was also going looking into that, the reason why I invited her21:11:05
@hexa:lossy.networkhexa so, Dandellion, how's the worker setup going so far? 😛 21:14:21
@winterqt:nixos.devWinter (she/her) joined the room.21:48:19
@winterqt:nixos.devWinter (she/her)oh, fun, yarn v221:48:35
@winterqt:nixos.devWinter (she/her)let me see what i can do21:48:53
@winterqt:nixos.devWinter (she/her)

We have two options here, for the short-term.

  1. Ship napi-rs's CLI in """binary""" form. We're lucky enough that it is simply a bunch of JS files, and no dependencies are required that aren't already bundled -- that is to say that a simple fetchurl will work.
  2. Shim it, it's simple enough.
22:02:59
@winterqt:nixos.devWinter (she/her)I vote #1.22:03:01
@winterqt:nixos.devWinter (she/her)We already do it for ~all node packages anyways.22:03:11
@winterqt:nixos.devWinter (she/her)going to work on this now22:03:19
@winterqt:nixos.devWinter (she/her)Correction: it is a single JS file.22:07:22
@winterqt:nixos.devWinter (she/her)Perfect.22:07:25
@winterqt:nixos.devWinter (she/her)Not really sure how to organize this, considering there's multiple bindings.22:11:23
@winterqt:nixos.devWinter (she/her)Should I just make one package for the Node ones, since those are the only other ones we're probably gonna use?22:11:43
@winterqt:nixos.devWinter (she/her)(At least in the foreseeable future.)22:11:52
@winterqt:nixos.devWinter (she/her)Done!22:32:40
@winterqt:nixos.devWinter (she/her)going to test w/ matrix-appservice-irc, give me a bit to run those tests :)22:32:51
@winterqt:nixos.devWinter (she/her)Packaged both napi cli and the nodejs bindings22:33:08
@winterqt:nixos.devWinter (she/her)So that'll help the Discord bridge, too.22:33:16
@winterqt:nixos.devWinter (she/her) why did you cp -v over cp hexa 22:39:06
@winterqt:nixos.devWinter (she/her) * why did you cp -v over cp hexa? 22:39:10
@winterqt:nixos.devWinter (she/her)should i keep it?22:39:12
@winterqt:nixos.devWinter (she/her)aaand those tests are green22:50:01

Show newer messages


Back to Room ListRoom Version: 4