!NhAsaYbbgmzHtXTPQJ:funklause.de

Nix NodeJS

209 Members
60 Servers

Load older messages


SenderMessageTime
8 Aug 2023
@lily:lily.flowersLily Foster (Otherwise I might do it. Nodejs doesn't take too obscenely long on the aarch64 community builder, whereas it takes like an hour on my laptop) 14:22:20
@gdesforges:matrix.org@gdesforges:matrix.org Lily Foster: any luck looking at this? https://github.com/NixOS/nixpkgs/pull/244504 16:51:48
@gdesforges:matrix.org@gdesforges:matrix.orgthe offlineCache error is a mystery to me16:52:20
@gdesforges:matrix.org@gdesforges:matrix.orgI'm wondering tho if it's not yet again an error with the damn resolutions field from packages.json16:53:10
@gdesforges:matrix.org@gdesforges:matrix.org * I'm wondering tho if it's not yet again an error with the damn resolutions field from packages.json 16:53:22
@countoren:matrix.orgcountoren joined the room.18:42:33
@countoren:matrix.orgcountorenHi all, I am trying to build a npm project that depends on fortawesome font that are private the project has .npmrc with the authtoken, how can i make it work with either node2nix or buildNpmPackage?18:43:38
@lily:lily.flowersLily Foster
In reply to @countoren:matrix.org
Hi all, I am trying to build a npm project that depends on fortawesome font that are private the project has .npmrc with the authtoken, how can i make it work with either node2nix or buildNpmPackage?
Hmmmm, can the auth token be set via environment variables?
22:16:56
@lily:lily.flowersLily FosterI would say just allow that var impurely into the sandbox22:17:14
@lily:lily.flowersLily FosterYou can configure that in the nix daemon22:17:20
@lily:lily.flowersLily Foster (also it will only work with buildNpmPackage -- node2nix does not inspect those tokens afaik) 22:17:44
@lily:lily.flowersLily Foster
In reply to @countoren:matrix.org
Hi all, I am trying to build a npm project that depends on fortawesome font that are private the project has .npmrc with the authtoken, how can i make it work with either node2nix or buildNpmPackage?
Oh actually it won't work with buildNpmPackage either... Can you open an issue on nixpkgs and @ me on it? (@lilyinstarlight)
22:18:24
@lily:lily.flowersLily FosterI'll add it to our backlog of features22:18:28
@lily:lily.flowersLily Foster
In reply to @gdesforges:matrix.org
the offlineCache error is a mystery to me
Yep, me too, since it's definitely in the cache. I'm assuming it's some difference in the cache naming between yarn2nix and fetchYarnDeps, which isn't supposed to happen but that was never regularly tested and I've already been concerned they had diverged a little
22:19:20
@lily:lily.flowersLily Foster(I just started looking at it now, so I'm about to diff the cache dirs and find out)22:19:35
@lily:lily.flowersLily Foster
In reply to @gdesforges:matrix.org
the offlineCache error is a mystery to me
Unless I'm misreading, the yarn.lock you committed is different from the upstream yarn.lock at 3.1.0...?
22:29:36
@lily:lily.flowersLily FosterSo I wonder if their lockfile was out of date or something22:29:52
@gdesforges:matrix.org@gdesforges:matrix.org
In reply to @lily:lily.flowers
Unless I'm misreading, the yarn.lock you committed is different from the upstream yarn.lock at 3.1.0...?
Well that could be a thing
22:31:50
@lily:lily.flowersLily FosterHmmm still doesn't work after updating to 3.2.022:32:16
@lily:lily.flowersLily FosterSo I'm gonna pull down a fresh lockfile for that version so I have a better comparison (I did the diff and noticed a bunch of them were different only in version number)22:32:39
@lily:lily.flowersLily Foster(which made no sense for locked deps 🤔)22:32:52
@lily:lily.flowersLily FosterHeck I'm gonna have to regenerate yarn.nix aren't I. I don't even know how to do that, I like touching yarn2nix as little as possible22:33:50
@lily:lily.flowersLily FosterOkay you're gonna love this. Now it doesn't work with vendored yarn.lock either with 3.2.0 🫠22:36:42
@gdesforges:matrix.org@gdesforges:matrix.orgJust call `yarn2nix` in the folder22:36:43
@gdesforges:matrix.org@gdesforges:matrix.orgAnd write stdout to yarn.nix22:36:52
@lily:lily.flowersLily FosterYep, I figured it out, thank you!22:36:59
@gdesforges:matrix.org@gdesforges:matrix.orgTrying my best to support you 😄22:37:17
@lily:lily.flowersLily Foster

So the only diff is this:

Binary files /nix/store/dbzacnpaxdzfgj7nymm68bp8hfsdj651-offline/5dd91d76ba088119836f60f514dc0a0b8b30e78d and /nix/store/zlshz8zl6sg705kbj0d8d3ha7qyhlzs6-offline/5dd91d76ba088119836f60f514dc0a0b8b30e78d differ
22:37:30
@lily:lily.flowersLily FosterWhich shouldn't matter22:37:33
@gdesforges:matrix.org@gdesforges:matrix.orgGo go go Lily! 👐22:37:36

Show newer messages


Back to Room ListRoom Version: 6