Nix NodeJS | 212 Members | |
| 62 Servers |
| Sender | Message | Time |
|---|---|---|
| 30 Jul 2023 | ||
| and one more nitpick,
is there some better wrapper in nix I can use instead of https://github.com/matrix-org/matrix-appservice-irc/blob/develop/bin/matrix-appservice-irc ? | 13:08:56 | |
In reply to @gdamjan:spodeli.orgthere = https://github.com/NixOS/nixpkgs/pull/246188/files | 13:09:17 | |
In reply to @gdamjan:spodeli.orgThat's entirely upstream's fault: https://github.com/matrix-org/matrix-appservice-irc/blob/0afb064635d37e039067b5b3d6423448b93026d3/package.json#L14 | 13:12:38 | |
| yeah, Im inclined to maybe `sed` it out | 13:52:41 | |
| hexa: will you give it a go on your staging environment? you do have staging, right, RIGHT :) | 14:32:38 | |
| no, I do not | 14:33:18 | |
| this is a community network that I tend to in my spare time | 14:33:27 | |
| but I don't suppose we're going to find any smaller user on short notice | 14:34:56 | |
| because most individual users will have switched to heisenbridge | 14:37:09 | |
| ok, I'll try to cook something up | 14:47:08 | |
In reply to @lily:lily.flowersWhat would be a better thing to put in package.json? | 15:41:21 | |
| Honestly, idk. I'd rather either package.json have a direct way to chain lifecycle scripts or yarn just had a config setting for offline so flags wouldn't have to be propagated | 15:43:05 | |
I'm improving remove-attr.py slightly in https://github.com/NixOS/nixpkgs/pull/246155 | 15:47:13 | |
In reply to @robert:funklause.deI'll try to review tonight! (US eastern tz) | 15:49:51 | |
| 31 Jul 2023 | ||
| I get
when running
| 06:17:58 | |
| https://github.com/matrix-org/matrix-appservice-irc/releases/tag/1.0.1 | 09:14:11 | |
| all in all, I like the fetchYarnDeps + mkDerivation combo. less magic, more control, and it's not that hard at all | 09:30:37 | |
| one question about https://github.com/NixOS/nixpkgs/pull/246188 … I have nodejs-slim in nativeBuildInputs, so that makes it depend on slim at runtime. Is this a good approach?
| 09:34:26 | |
| although, nodejs-slim-18.16.1 still depends on icu4c-73.2-dev, openssl-3.0.9-dev, openssl-3.0.9-dev and zlib-1.2.13-dev :/ - not more than 10MB but still | 09:41:36 | |
In reply to @robert:funklause.deIt is not because of that. That is normal. I'll see if I can check sometime today but I'm betting there's a suspicious resolved uri | 10:55:14 | |
In reply to @gdamjan:spodeli.orgI mean I guess if it works, sure. I don't know any downsides | 10:56:16 | |
| works for now :) | 10:57:32 | |
| Wait why would having it in nativeBuildInputs affect the runtime interpreter........ | 11:02:07 | |
| Is strictDeps on? | 11:02:45 | |
| beats me | 11:02:46 | |
In reply to @lily:lily.flowersno? | 11:03:12 | |
| Ah then the separation of build-time and run-time inputs isn't enforced and it's assumed both are needed for both | 11:04:00 | |
| Don't worry about it for now then. I'll test it with strictDeps on or just test cross and might ask it to be moved when reviewing your PR (sorry I didn't get to it yesterday...) | 11:04:49 | |
| no problem | 11:06:45 | |
| I'm probably gonna be offline for the better part of the day today. but I might get back online late in the evening (CEST evening that is) | 11:07:53 | |