!NhAsaYbbgmzHtXTPQJ:funklause.de

Nix NodeJS

198 Members
58 Servers

Load older messages


SenderMessageTime
12 Apr 2025
@aidalgol:matrix.orgaidalgol

The package heroic (actually heroic-unwrapped) has a sporadic build failure, at least on my local system, that looks like this. I'm not sure it's the same file, but the message is always resource temporarily unavailable, copyfile.

ERR_PNPM_EAGAIN  EAGAIN: resource temporarily unavailable, copyfile '/build/tmp.ltqPqcK0pE/v3/files/f8/561afcf3e85e0a23f3b4948708b49e581be80361b6fb5c045523d6007ffa2fb3ea6a41a2e5a7f397d8863ca15b121df311054ba1c7aff544a078b1b325fe7f' -> '/build/source/node_modules/sanitize-html_tmp_69/LICENSE'

I have no clue what's going on here. This just happens sometimes when I'm working on changes to the derivation, and it always succeeds the next time.

20:22:01
13 Apr 2025
@c0ba1t:matrix.orgCobalt
In reply to @aidalgol:matrix.org

The package heroic (actually heroic-unwrapped) has a sporadic build failure, at least on my local system, that looks like this. I'm not sure it's the same file, but the message is always resource temporarily unavailable, copyfile.

ERR_PNPM_EAGAIN  EAGAIN: resource temporarily unavailable, copyfile '/build/tmp.ltqPqcK0pE/v3/files/f8/561afcf3e85e0a23f3b4948708b49e581be80361b6fb5c045523d6007ffa2fb3ea6a41a2e5a7f397d8863ca15b121df311054ba1c7aff544a078b1b325fe7f' -> '/build/source/node_modules/sanitize-html_tmp_69/LICENSE'

I have no clue what's going on here. This just happens sometimes when I'm working on changes to the derivation, and it always succeeds the next time.

Sporadic error sounds like the lockfile handling in pnpm might be unstable. Maybe check if you can find a reproducable example and compare the lockfile against a working one.
07:23:52
@c0ba1t:matrix.orgCobaltThe error looks weird though. 07:24:29
15 Apr 2025
@ayatsfer:matrix.org@ayatsfer:matrix.org joined the room.06:37:16
@ayatsfer:matrix.org@ayatsfer:matrix.orgHi, just wanted to ask if there's any way to build a local pnpm project without having to pass the hash of the pnpm.fetchDeps06:38:27
@ayatsfer:matrix.org@ayatsfer:matrix.org this is possible with npm by using importNpmLock { npmRoot = ./.; }; 06:38:44
@ayatsfer:matrix.org@ayatsfer:matrix.orgmaybe it can be done with some IFD...06:38:57
@transcaffeine:finallycoffee.eutranscaffeine meow, how do i deal with sqlite3 in fetchYarnDeps not adding the lib/bindings/node-*-$os-$arch/node_sqlite3.node to the offline yarn cache? 18:38:08
16 Apr 2025
@winter:catgirl.cloudWinterbuild it yourself: https://github.com/NixOS/nixpkgs/blob/2631b0b7abcea6e640ce31cd78ea58910d31e650/pkgs/by-name/th/thelounge/package.nix#L8006:26:26
@winter:catgirl.cloudWinterthough it definitely should be added06:26:32
@lxsameer:matrix.orglxsameer joined the room.12:32:58
@lxsameer:matrix.orglxsameerhey folks, is there any doc or tool for integrating a pnpm project with nix?12:36:01
@sandro:supersandro.deSandro 🐧please see https://github.com/NixOS/nixpkgs/blob/master/doc/languages-frameworks/javascript.section.md#pnpm-javascript-pnpm14:22:52
24 Apr 2025
@cathal_mullan:matrix.orgCathal joined the room.14:46:51
@root:xvx.shroot joined the room.19:29:10
25 Apr 2025
@nrs-status:matrix.orgthirdofmay18081814goya joined the room.16:10:41
26 Apr 2025
@aktaboot:tchncs.deaktabootRedacted or Malformed Event12:56:06
27 Apr 2025
@adam_neverwas:matrix.org@adam_neverwas:matrix.org joined the room.15:56:01
@arexon:matrix.org@arexon:matrix.org changed their profile picture.16:12:40
@arexon:matrix.org@arexon:matrix.org changed their profile picture.16:12:53
29 Apr 2025
@c3n21:matrix.orgc3n21 joined the room.10:08:02
@c3n21:matrix.orgc3n21

Hey guys!

Does anybody know how to create a package for a yarn project that uses pnp?

I'm trying to package Verdaccio https://github.com/NixOS/nixpkgs/pull/398441

but it seems that pnp is not supported by the current packaging tooling

10:09:26
@c0ba1t:matrix.orgCobaltI'm not too familiar with yarn but PNP still has a yarn lockfile, correct? You could try to use the normal yarn deps fetcher on it. Regardless, the linked project's source, verdaccio, seems to use pnpm from cursory glance. This is iirc supported with a custom deps fetcher 10:31:07
@c0ba1t:matrix.orgCobalt(The pnpm guess is based on the pnpm lockfile, https://github.com/verdaccio/verdaccio/blob/master/pnpm-lock.yaml)10:33:24
@sandro:supersandro.deSandro 🐧Pnpm has its own lock file and fetcher11:57:24
@sandro:supersandro.deSandro 🐧(that is a pnpm lock file, or is pnp yet another package manager?)11:58:27
@c0ba1t:matrix.orgCobaltyarn PNP is yarn plug-n-plug iirc, it's a special-ish way for yarn to handle deps. An alternative to traditional node_modules12:52:52
@c0ba1t:matrix.orgCobalthttps://yarnpkg.com/features/pnp12:53:41
@c0ba1t:matrix.orgCobalt Though @c3n21:matrix.org, it might helpful if you could clarify if yarn PNP or pmpn was referred to here. 12:55:39
@c3n21:matrix.orgc3n21Yes it is yarn pnp, I should have mentioned that I'm packaging v6.1.2 which only uses yarn15:30:47

Show newer messages


Back to Room ListRoom Version: 6