13 Sep 2022 |
hexa | https://matrix.org/blog/2022/09/13/security-release-of-matrix-appservice-irc-0-35-0-high-severity | 16:25:22 |
hexa | unstable-small has the bump fwiw | 16:25:29 |
@pacien:pacien.net | In reply to @hexa:lossy.network roast me (╯°□°)╯︵ ┻━┻ (ノಠ益ಠ)ノ✂️ https://github.com/NixOS/nixpkgs/pull/186316#discussion_r970080894 | 21:06:14 |
hexa | Notkea: if you could try building the rust native thing, unless you're in a hurry | 21:07:23 |
hexa | that would be neat | 21:07:29 |
@pacien:pacien.net | I tried. This requires napi-rs, which requires Yarn v2, whose lock format isn't supported by our yarn2nix… | 21:08:05 |
hexa | oh boy | 21:08:23 |
| hexa invited Winter (she/her). | 21:08:28 |
hexa | winter was also going looking into that, the reason why I invited her | 21:11:05 |
hexa | so, Dandellion, how's the worker setup going so far? 😛 | 21:14:21 |
| Winter (she/her) joined the room. | 21:48:19 |
Winter (she/her) | oh, fun, yarn v2 | 21:48:35 |
Winter (she/her) | let me see what i can do | 21:48:53 |
Winter (she/her) | We have two options here, for the short-term.
- 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.
- Shim it, it's simple enough.
| 22:02:59 |
Winter (she/her) | I vote #1. | 22:03:01 |
Winter (she/her) | We already do it for ~all node packages anyways. | 22:03:11 |
Winter (she/her) | going to work on this now | 22:03:19 |
Winter (she/her) | Correction: it is a single JS file. | 22:07:22 |
Winter (she/her) | Perfect. | 22:07:25 |
Winter (she/her) | Not really sure how to organize this, considering there's multiple bindings. | 22:11:23 |
Winter (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 |
Winter (she/her) | (At least in the foreseeable future.) | 22:11:52 |
Winter (she/her) | Done! | 22:32:40 |
Winter (she/her) | going to test w/ matrix-appservice-irc, give me a bit to run those tests :) | 22:32:51 |
Winter (she/her) | Packaged both napi cli and the nodejs bindings | 22:33:08 |
Winter (she/her) | So that'll help the Discord bridge, too. | 22:33:16 |
Winter (she/her) | why did you cp -v over cp hexa | 22:39:06 |
Winter (she/her) | * why did you cp -v over cp hexa? | 22:39:10 |
Winter (she/her) | should i keep it? | 22:39:12 |
Winter (she/her) | aaand those tests are green | 22:50:01 |