!NhAsaYbbgmzHtXTPQJ:funklause.de

Nix NodeJS

204 Members
58 Servers

Load older messages


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

There are no newer messages yet.


Back to Room ListRoom Version: 6