!NhAsaYbbgmzHtXTPQJ:funklause.de

Nix NodeJS

189 Members
55 Servers

Load older messages


SenderMessageTime
9 May 2023
@lily:lily.flowersLily FosterIt does not add it to the store by default10:56:12
@lily:lily.flowersLily FosterYou'd have to actually use nix build for it to go to the store10:56:32
@denbrahe:matrix.orgdenbraheOkay, I'll just loop nix-build then. Thanks!10:57:49
@lily:lily.flowersLily Foster Try --cores 1 on your nix-build command if you haven't already, since that might help 10:58:45
@lily:lily.flowersLily Foster (Or maybe it's only --option cores 1 for the old cli... i forget) 10:59:11
@denbrahe:matrix.orgdenbraheI'll try both 😛11:03:40
@denbrahe:matrix.orgdenbrahe100 retries, got nothing. Is this normal? It's a small project, only notable deps are react and typescript11:32:01
@lily:lily.flowersLily FosterNope that's not normal. I'll see if I can get retry logic working today and will let you try it, if you can't get a successful build before then11:42:27
@lily:lily.flowersLily FosterAlso if it's ignoring nix's NUM_JOBS setting then I'll fix that too11:42:42
@aktaboot:tchncs.deaktaboot
In reply to @lily:lily.flowers
Yeah, I can do that in a bit

opened an issue,

Do you know what needs to be done for that to work ? I am not sure where the parsing functions for yarnLock are defined, I guess we would add a yarnLock2 or yarnLockv2 for the newer version

13:57:11
@lily:lily.flowersLily FosterIt uses upstream @yarnpkg/lockfile, but an older pre-berry version13:58:44
@aktaboot:tchncs.deaktabootberry is newer ?14:00:07
@lily:lily.flowersLily FosterYes. Yarn 2+ is berry14:02:52
@aktaboot:tchncs.deaktaboot
In reply to @lily:lily.flowers
Yes. Yarn 2+ is berry
does that seems more like a package upstream issue ?
14:04:32
@lily:lily.flowersLily Foster It's not an upstream issue, we don't use the upstream parser yet. I haven't tried to see if that's the only requirement for fetchYarnDeps to work 14:07:53
@lily:lily.flowersLily Fosteryarn2nix is hecked for berry though14:08:00
@aktaboot:tchncs.deaktaboot(also I'm not trying to put pressure on you in any way :), I just wanted to open an issue for the record and other people to see eventually)14:08:23
@aktaboot:tchncs.deaktaboot
In reply to @lily:lily.flowers
yarn2nix is hecked for berry though
oh, is there ongoing work on that ? 👀
14:09:11
@lily:lily.flowersLily Foster
In reply to @aktaboot:tchncs.de
oh, is there ongoing work on that ? 👀
yarn2nix makes me sad. So unless someone else is, no. We are creating buildYarnPackage, fetchYarnDeps, and stuff to just have shiny new stuff to use
14:16:58
@lily:lily.flowersLily Foster
In reply to @aktaboot:tchncs.de
(also I'm not trying to put pressure on you in any way :), I just wanted to open an issue for the record and other people to see eventually)
Yeah it's no pressure and I do need to make an issue (just been busy and currently busy at $dayjob)
14:17:23
@lily:lily.flowersLily Foster Oh I see you already made an issue. Thank you aktaboot14:24:23
10 May 2023
@quentinmit:matrix.orgquentin joined the room.22:45:15
@quentinmit:matrix.orgquentin What's the current state of packaging apps that use yarn v3 lockfiles? Is the only option yarn-plugin-nixify and committing the giant generated yarn-project.nix? 22:48:14
@lily:lily.flowersLily Foster
In reply to @quentinmit:matrix.org
What's the current state of packaging apps that use yarn v3 lockfiles? Is the only option yarn-plugin-nixify and committing the giant generated yarn-project.nix?
Pretty much just that. Or locking your own npm package-lock.json and using buildNpmPackage
23:03:32
@lily:lily.flowersLily FosterUnfortunately23:03:43
@quentinmit:matrix.orgquentin
In reply to @lily:lily.flowers
Unfortunately
Are there issues I can follow for this?
23:19:07
@lily:lily.flowersLily Foster
In reply to @quentinmit:matrix.org
Are there issues I can follow for this?
https://github.com/NixOS/nixpkgs/issues/177762 is for yarn2nix but I'm probably going to hijack it for fetchYarnDeps/buildYarnPackage because yarn2nix makes me sad
23:34:38
@quentinmit:matrix.orgquentinThanks, I had already found and subscribed to that one23:44:23
11 May 2023
@justingrant:matrix.orgjustingrant left the room.00:30:53
12 May 2023
@federicodschonborn:matrix.orgFederico Schonborn changed their profile picture.00:58:42

There are no newer messages yet.


Back to Room ListRoom Version: 6