!NhAsaYbbgmzHtXTPQJ:funklause.de

Nix NodeJS

153 Members
48 Servers

Load older messages


SenderMessageTime
30 Apr 2024
@lily:lily.flowersLily Foster
In reply to @c0ba1t:matrix.org
Iirc, it is on 22 on unstable. I don't remember the specifics but an unstable bum recently made our builds fail until we returned to 18. Iirc, it was similar to https://github.com/nodejs/node-gyp/issues/3029
but it was 20 before 22, did 20 not work either?
21:01:19
@lily:lily.flowersLily Foster
In reply to @lily:lily.flowers
oh you know what
i wonder if it's because the composer stuff changes build to that dir first
21:02:06
@lily:lily.flowersLily Fosterif it's working now, leave it as-is then :)21:02:13
@matejam:matrix.orgmatejam

i wonder if it's because the composer stuff changes build to that dir first

Yeah, maybe even the other way around. In the logs I see first the npm runs and then composer>

if it's working now, leave it as-is then :)

sure 😄

share derivation? (e.g. on a pastebin?) that seems weird

If you are interested, I can make a new branch with the change. It's my open source project anyway

21:04:59
@matejam:matrix.orgmatejam *

i wonder if it's because the composer stuff changes build to that dir first

Yeah, maybe even the other way around. In the logs I see first the npm runs and then composer.

if it's working now, leave it as-is then :)

sure 😄

share derivation? (e.g. on a pastebin?) that seems weird

If you are interested, I can make a new branch with the change. It's my open source project anyway

21:05:17
@lily:lily.flowersLily Foster
In reply to @matejam:matrix.org

i wonder if it's because the composer stuff changes build to that dir first

Yeah, maybe even the other way around. In the logs I see first the npm runs and then composer.

if it's working now, leave it as-is then :)

sure 😄

share derivation? (e.g. on a pastebin?) that seems weird

If you are interested, I can make a new branch with the change. It's my open source project anyway

nah, i'm pretty sure it's because composer changes dir and you want npm to run after that. so you're doing it right enough and this looks pretty awesome actually :)
21:05:34
@lily:lily.flowersLily Fosterit feels neat that you are able to mix the npm hooks into another builder without too much fuss and have a multi-language-package-manager app build in a derivation like that21:06:10
@lily:lily.flowersLily Foster
In reply to @c0ba1t:matrix.org
Iirc, it is on 22 on unstable. I don't remember the specifics but an unstable bum recently made our builds fail until we returned to 18. Iirc, it was similar to https://github.com/nodejs/node-gyp/issues/3029
oooof. well marsam left and i'm recovering from surgery, so someone else will probably have to bump the nodejs derivation
21:09:32
@lily:lily.flowersLily Foster
In reply to @lily:lily.flowers
oooof. well marsam left and i'm recovering from surgery, so someone else will probably have to bump the nodejs derivation
(no one else is on nodejs team rn except winter who also hasn't had time for things....)
21:10:15
@matejam:matrix.orgmatejam Yeah, Composer also has it's own version of fetchNpmDeps (mkComposerRepository) but I couldn't really make it work. I don't know how it would handle 3 or more language app builds 😂 I'm glad that it works for 2 21:10:14
@c0ba1t:matrix.orgCobalt
In reply to @lily:lily.flowers
oooof. well marsam left and i'm recovering from surgery, so someone else will probably have to bump the nodejs derivation
It looks like the fix for the upstream issue was merged today. Though, by the comments on the MR, it will likely take a bit until a patch release will be published. So there's no need to hurry here.
21:27:35
@c0ba1t:matrix.orgCobaltI'll try to make a PR when 20.0.1 gets released.21:28:23
@lily:lily.flowersLily Foster
In reply to @c0ba1t:matrix.org
It looks like the fix for the upstream issue was merged today. Though, by the comments on the MR, it will likely take a bit until a patch release will be published. So there's no need to hurry here.
(well hurry or not, i'm just making clear i don't think anyone from nodejs team will be touching it any time soon)
21:46:15
@lily:lily.flowersLily Foster
In reply to @c0ba1t:matrix.org
I'll try to make a PR when 20.0.1 gets released.
i assume you mean 22.0.1, but thank you!
21:46:36
1 May 2024
@mjolnir:nixos.orgNixOS Moderation Botchanged room power levels.15:06:24
2 May 2024
@mac:private.coffeemac joined the room.03:33:06
@timekillertk:matrix.orgTimekillerTK joined the room.04:11:49
@winter:catgirl.cloudWinter joined the room.21:02:51
4 May 2024
@purepani:matrix.orgpurepani joined the room.01:59:39
5 May 2024
@purepani:matrix.orgpurepani Hey Lily Foster I was maybe considering looking at the buildYarnPackage PR, and was wondering if you had a short rundown of stuff that needs to be done; I haven't tried looking through it yet, and am not too familiar with nodejs stuff, so it'd good to have a shortlist of tasks 02:53:20
@purepani:matrix.orgpurepanimaybe i won't be working on it too much though...this being unfixed so far is a bit insane: https://github.com/yarnpkg/berry/issues/606803:38:29
@winter:catgirl.cloudWinter welcome to nodejs hell :) 03:42:18
@purepani:matrix.orgpurepani how does that bug not make yarn-berry effectively useless to anyone 03:43:22
@purepani:matrix.orgpurepanimaybe ill just work on pnpm stuff instead since that bug makes yarn-berry lock files not useful to nix...04:00:37
@tumble1999:matrix.orgTumblehello15:37:11
@tumble1999:matrix.orgTumblecan i use pnpm with buildNpmPackage?15:48:10
@winter:catgirl.cloudWinter no 15:57:55
@tumble1999:matrix.orgTumble
In reply to @winter:catgirl.cloud
no
if i have a repo with pnpm project and i have anouther repo thats a nixos config flake
could i make the config repo get the other repo and run them in a systemd?
i was thinking of the project repo being a flake that outputs a package or something
and the config repo has it as an input and send it to the nix config wich sets up the service
16:02:16
@winter:catgirl.cloudWinter yes, but you'll need to package your project first. there are various pnpm nix things that work, but i can really only vouch for the npm tooling being the most resistant to all of the awful hacks that is the node.js ecosystem. 16:03:35
@tumble1999:matrix.orgTumbledo i delete the pnpm lock file and turn it into an npm project?16:04:14

Show newer messages


Back to Room ListRoom Version: 6