!NhAsaYbbgmzHtXTPQJ:funklause.de

Nix NodeJS

192 Members
57 Servers

Load older messages


SenderMessageTime
18 Sep 2025
@marie:marie.cologneMarieAnd I don't have the time right now to investigate, sorry :/10:44:21
@mmkaram:matrix.orgmmkaramall good thank you for the help marie10:44:35
@mmkaram:matrix.orgmmkaramI fixed it! PR is live but even if I messed something up I'm still happy I'll just integrate it into my config: https://github.com/NixOS/nixpkgs/pull/44403814:35:14
19 Sep 2025
@bl1nk:matrix.orgbl1nk changed their profile picture.15:22:21
@bl1nk:matrix.orgbl1nk changed their profile picture.15:24:49
@mkg20001:mkg20001.iomkg20001 changed their profile picture.17:21:36
@tomodachi94:matrix.orgTomodachi94 (they/them)In case you missed it on GitHub: this is queued to be merged. It will start trickling into channels soon (https://nixpk.gs is helpful for tracking that progression)23:27:53
23 Sep 2025
@a-kenji:matrix.orgkenji changed their display name from a-kenji to kenji.10:41:13
@albertlarsan68:albertlarsan.frAlbert Larsan joined the room.11:34:42
@albertlarsan68:albertlarsan.frAlbert LarsanHello! I'm packaging a cli tool that is managed using lerna. How do I make it fit the buildNodePackage ? (also the upstream doesn't provide a lock file)11:59:36
@albertlarsan68:albertlarsan.frAlbert Larsan(it uses lerna v3 btw)12:01:42
@albertlarsan68:albertlarsan.frAlbert LarsanI bypassed the issue by using the pre-built package on NPM.13:22:23
@mmkaram:matrix.orgmmkaram
In reply to @tomodachi94:matrix.org
In case you missed it on GitHub: this is queued to be merged. It will start trickling into channels soon (https://nixpk.gs is helpful for tracking that progression)
Oh yeah I use that tracker all the time. Thanks for the merge!
13:24:22
@acidbong:envs.net@acidbong:envs.net joined the room.14:59:39
@acidbong:envs.net@acidbong:envs.net evening, fellers and felines
related to Albert's package: his current effort looks like this, and i'm trying to replace the NPM archive with the Github source and run npm run build in it (diff), but tsc fails with this kinda error: https://termbin.com/9t7d
what could be the culprit?
15:18:10
@c0ba1t:matrix.orgCobalt
In reply to @acidbong:envs.net
evening, fellers and felines
related to Albert's package: his current effort looks like this, and i'm trying to replace the NPM archive with the Github source and run npm run build in it (diff), but tsc fails with this kinda error: https://termbin.com/9t7d
what could be the culprit?
This looks like not all deps were installed, specifically something for typescript.
15:31:03
@c0ba1t:matrix.orgCobalt
In reply to @acidbong:envs.net
evening, fellers and felines
related to Albert's package: his current effort looks like this, and i'm trying to replace the NPM archive with the Github source and run npm run build in it (diff), but tsc fails with this kinda error: https://termbin.com/9t7d
what could be the culprit?
* This looks like not all npm deps were installed, specifically something for typescript.
15:31:23
@acidbong:envs.net@acidbong:envs.netanyway, is it still a good idea to use archives from NPM? i see some programs are packaged like that in Nixpkgs16:05:48
@c0ba1t:matrix.orgCobalt

It depends, ime building from upstream source is better as it is easier to debug issues from source inputs to compiled outputs.

Archives from npm often contain already compiled archives, which can be an easy way to sidestep a complex compile/build step.(similar to packaging upstream binaries).

18:06:17
@albertlarsan68:albertlarsan.frAlbert Larsan The issue is that for some reason, the package can only be built by running npm install && npm run bootstrap from the root of the repo. If I change a setting that makes it generate a lockfile for each package, then it breaks (because some stuff is not shared anymore) 18:06:20
@albertlarsan68:albertlarsan.frAlbert LarsanEach package gets its own node_modules, but only one lockfile is generated (sometimes)18:08:04
@albertlarsan68:albertlarsan.frAlbert LarsanThe issue you face is that some of the "internal" dependencies (ie in the same repo) are using types (in the dev-deps), but the main package does not include them in the repo's package.json (only in NPM's package.json)18:14:20
@albertlarsan68:albertlarsan.frAlbert LarsanOne thing to try is to use NPM's package.json, but the repo's sources (then it may work)18:16:08
26 Sep 2025
@acidbong:envs.net@acidbong:envs.net left the room.03:21:33
29 Sep 2025
@emma:rory.gayEmma [it/its]Q: is there a way to make buildNpmPackage split up dependency fetches into separate drvs?23:42:45
@emma:rory.gayEmma [it/its]i guess that'd add evaluator overhead, but would help a lot with all the redownloading when iterating over builds with minor package set changes23:43:59
@emma:rory.gayEmma [it/its]in related news: any idea why, when i build my package with nix, it fails to start saying it's missing a module?23:45:33
30 Sep 2025
@pyrox:pyrox.devdish [Fox/It/She] nope 00:04:52
@emma:rory.gayEmma [it/its]ouch00:05:36
@pyrox:pyrox.devdish [Fox/It/She]thats a feature of some other builders but atm buildNpmPackage doesn't have that00:09:36

Show newer messages


Back to Room ListRoom Version: 6