!NhAsaYbbgmzHtXTPQJ:funklause.de

Nix NodeJS

203 Members
58 Servers

Load older messages


SenderMessageTime
24 Mar 2026
@pyrox:pyrox.devdish [Fox/It/She]and so it doesnt have a correct shebang that would point to a nodejs already02:45:08
@pyrox:pyrox.devdish [Fox/It/She]and having the proper shebang would register the correct nodejs as a dependency and then you wouldn't have to wrap it02:45:31
@pyrox:pyrox.devdish [Fox/It/She]so tl;dr the packaging is slightly wrong and then it doesnt work properly02:47:01
@pyrox:pyrox.devdish [Fox/It/She] hmm, why doesn't nodeJsInstallExecutables link to nodejs-slim instead of nodejs? Not installing corepack and npm with everything could save a few dozen mb everywhere, which I think would be a good tradeoff. 16:15:16
@pyrox:pyrox.devdish [Fox/It/She] * hmm, why doesn't nodeJsInstallExecutables link to nodejs-slim instead of nodejs? Not installing corepack and npm with everything could save a few dozen mb everywhere, which I think would be a good space saving 16:15:25
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

There are no newer messages yet.


Back to Room ListRoom Version: 6