!NhAsaYbbgmzHtXTPQJ:funklause.de

Nix NodeJS

204 Members
58 Servers

Load older messages


SenderMessageTime
30 Mar 2026
@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

There are no newer messages yet.


Back to Room ListRoom Version: 6