!NhAsaYbbgmzHtXTPQJ:funklause.de

Nix NodeJS

211 Members
61 Servers

Load older messages


SenderMessageTime
30 Mar 2026
@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
6 Apr 2026
@travltux:matrix.orgtravltux joined the room.12:28:46
8 Apr 2026
@rav:vergara.techRené

Hello. Is there an example out there on how I can make an npm package available in a devShell that I usually would npm install -g?

19:57:03
@pyrox:pyrox.devdish [Fox/It/She]if it is packaged in nixpkgs, then you just add it to the devShell like any other package. If it is not available like that, you have to package it20:01:08
@pyrox:pyrox.devdish [Fox/It/She] and to package it, see the documentation https://github.com/NixOS/nixpkgs/blob/master/doc/languages-frameworks/javascript.section.md#tool-specific-instructions-javascript-tool-specific 20:02:03
17 Apr 2026
@pyrox:pyrox.devdish [Fox/It/She] changed their profile picture.16:58:37
24 Apr 2026
@terrorjack:matrix.orgterrorjackhi folks! sorry in advance if it's the wrong place to ask, i noticed some of node packages now build fine without pinning to nodejs 22: https://github.com/NixOS/nixpkgs/pull/51309714:59:34
25 Apr 2026
@pyrox:pyrox.devdish [Fox/It/She] mkYarnPackage is dead https://github.com/NixOS/nixpkgs/pull/513497 22:19:35
@pyrox:pyrox.devdish [Fox/It/She](along with all of yarn2nix and friends)22:19:47
@pyrox:pyrox.devdish [Fox/It/She]hoping to get this merged within the next ~30 hours so that it ends up in 26.05 lol22:20:05
26 Apr 2026
@drsensor:matrix.org૮༼⚆︿⚆༽つ changed their display name from ૮༼⚆︿⚆༽つ / wildan to ૮༼⚆︿⚆༽つ.02:12:49
27 Apr 2026
@ninja:worldethicaldataforum.orgNinja joined the room.14:31:50
28 Apr 2026
@aangularframework:matrix.orgAangularity joined the room.04:38:27
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

Show newer messages


Back to Room ListRoom Version: 6