Nix NodeJS | 210 Members | |
| 61 Servers |
| Sender | Message | Time |
|---|---|---|
| 30 Jul 2023 | ||
In reply to @lily:lily.flowers(Unless you call bash again in your phase I guess) | 12:32:36 | |
| you're right. thanks. | 12:33:59 | |
| https://github.com/NixOS/nixpkgs/compare/master...gdamjan:nixpkgs:bump-matrix-appservice-irc-2?expand=1 here's that in pre-PR form :D | 12:42:06 | |
| Sweet! I'll be able to take a look in like ~6 hours (feel free to remind me if I forget too....) | 12:43:15 | |
| I'll open a PR for the mkDerivation if this is the better approach than mkYarnPackage | 12:44:53 | |
| I think it probably will be, but I'm also biased in that I want to kill yarn2nix 🙈 | 12:45:33 | |
| :D | 12:46:18 | |
| I'm ok with biases | 12:46:30 | |
btw, what is passthru.updateScript ? | 12:49:03 | |
it's funny how yarn install --offline calls the prepare or build script from package.json without the --offline flag :/ | 13:03:17 | |
| not very happy with that
| 13:07:17 | |
| 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 | |