!NhAsaYbbgmzHtXTPQJ:funklause.de

Nix NodeJS

208 Members
59 Servers

Load older messages


SenderMessageTime
25 Mar 2026
@raboof:matrix.orgraboof joined the room.10:26:35
@raboof:matrix.orgraboof I'm surprised not more people have been hit by nodejs.src disappearing (https://github.com/NixOS/nixpkgs/pull/501357) 10:27:32
30 Mar 2026
@pyrox:pyrox.devdish [Fox/It/She] https://github.com/NixOS/nixpkgs/pull/496365 01:19:40
@pyrox:pyrox.devdish [Fox/It/She]it's done!01:19:51
@pyrox:pyrox.devdish [Fox/It/She]thanks to everyone who helped out with this01:20:02
1 Apr 2026
@azban:matrix.org@azban:matrix.org left the room.14:03:07
4 Apr 2026
@scrumplex:duckhub.ioScrumplex

I have been hitting my head against the current state of mirrors-support in nixpkgs around Node.

  • fetchPnpmDeps: supports NIX_NPM_REGISTRY as an impure env var
  • importNpmLock: no mirror support (needed in fetchurl)
  • fetchYarnDeps: no mirror support
  • fetchNpmDeps/prefetchNpmDeps: supports config.npmRegistryOverridesString (and npmRegistryOverrides by extension)

I was trying to get all of these under the same roof in https://github.com/NixOS/nixpkgs/pull/504349 using the fetchurl NIX_MIRRORS_<name> feature as a common baseline, but I am not sure if this is the best way forward.

For completion's sake we should probably also add support for registry.yarnpkg.org and npm.jsr.io, but I think this is all very convoluted sadly :/

11:50:54
@hsjobeki:matrix.orghsjobekiThe pnpmFetcher in nixpkgs annoyed me really hard the last couple of days12:00:42
@scrumplex:duckhub.ioScrumplex

fetchPnpmDeps is definitely not the best thing in the world but sadly the best we have at the moment.

Maybe I can interest you in my importPnpmLock.nix (also mirrord to GitHub). Though that is only a solution if you are okay with IFD

12:03:15
@scrumplex:duckhub.ioScrumplex *

fetchPnpmDeps is definitely not the best thing in the world but sadly the best we have at the moment.

Maybe I can interest you in my importPnpmLock.nix (also mirrored to GitHub). Though that is only a solution if you are okay with IFD

12:03:49
5 Dec 2022
@grahamc:nixos.org@grahamc:nixos.org changed the history visibility to "world_readable" from "shared".14:44:17
@hexa:lossy.networkhexaThanks14:44:25
@winterqt:nixos.devWinter (she/her)
In reply to @hexa:lossy.network
Thanks
it doesn't look like he read the message, are you sure it wasn't just your server syncing the history :P
14:45:19
@hexa:lossy.networkhexa?14:45:48
@aktaboot:tchncs.deaktaboot

grahamc (he/him) made the room history world readable. Events may be now read by non-joined people.

14:46:07
@grahamc:nixos.org@grahamc:nixos.orgonly future history14:46:16
@aktaboot:tchncs.deaktaboot *

grahamc (he/him) made the room history world readable. Events may be now read by non-joined people.

14:46:21
@hexa:lossy.networkhexaYeah doesnt work into the past14:46:34
@hexa:lossy.networkhexaIMG_20221205_154711.jpg
Download IMG_20221205_154711.jpg
14:47:23
@winterqt:nixos.devWinter (she/her)
In reply to @hexa:lossy.network
Yeah doesnt work into the past
ah. by default you mean?
14:47:55
@aktaboot:tchncs.deaktaboothuh, I don't see dash's messages 🤔14:49:55
@washort:greyface.org@washort:greyface.orgOh no15:11:34
@washort:greyface.org@washort:greyface.orgDid you scroll all the way back to April? 😉15:12:27
9 Dec 2022
@winterqt:nixos.devWinter (she/her) @aktaboot, I can't repro your issue, FWIW. The only thing that was being thrown was that Python was missing, right? 03:04:29
13 Dec 2022
@raphi:tapesoftware.netraphi joined the room.19:01:16
14 Dec 2022
@jeroen:simonetti.nlJeroen Simonetti joined the room.17:42:51
@jeroen:simonetti.nlJeroen Simonetti

Hello,
I am trying to package github.com/zwave-js/zwave-js-ui but am getting an error during build phase of which I don;t realy know what to make of it. Mind you, I am a total nodejs novice, so this is probably due to pebkac. I would appreciate some help.
The error I am having is:

@nix { "action": "setPhase", "phase": "buildPhase" }
building
SyntaxError: Unknown token: { line: 3, col: 2, type: 'INVALID', value: undefined } 3:2 in lockfile
    at Parser.unexpected (/nix/store/0s6r2hk9ry5nln2p66nr9db95xihksjg-prefetch-yarn-deps/libexec/yarnpkg-lockfile.js:5064:11)
    at Parser.parse (/nix/store/0s6r2hk9ry5nln2p66nr9db95xihksjg-prefetch-yarn-deps/libexec/yarnpkg-lockfile.js:5193:14)
    at parse (/nix/store/0s6r2hk9ry5nln2p66nr9db95xihksjg-prefetch-yarn-deps/libexec/yarnpkg-lockfile.js:5262:17)
    at module.exports.exports.default (/nix/store/0s6r2hk9ry5nln2p66nr9db95xihksjg-prefetch-yarn-deps/libexec/yarnpkg-lockfile.j>
    at prefetchYarnDeps (/nix/store/0s6r2hk9ry5nln2p66nr9db95xihksjg-prefetch-yarn-deps/libexec/index.js:129:28)
    at main (/nix/store/0s6r2hk9ry5nln2p66nr9db95xihksjg-prefetch-yarn-deps/libexec/index.js:183:9)
17:45:27
@adam:valkor.netadamcstephens joined the room.18:18:09
@winterqt:nixos.devWinter (she/her) Jeroen Simonetti: This uses Yarn "berry," which we don't support at this time. 18:22:37
@winterqt:nixos.devWinter (she/her)(It's essentially a rewrite of Yarn, but barely any packages use it.)18:22:54

Show newer messages


Back to Room ListRoom Version: 6