| 24 Mar 2026 |
dish [Fox/It/She] | and so it doesnt have a correct shebang that would point to a nodejs already | 02:45:08 |
dish [Fox/It/She] | and having the proper shebang would register the correct nodejs as a dependency and then you wouldn't have to wrap it | 02:45:31 |
dish [Fox/It/She] | so tl;dr the packaging is slightly wrong and then it doesnt work properly | 02:47:01 |
dish [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 |
dish [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 joined the room. | 10:26:35 |
raboof | 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 |
dish [Fox/It/She] | https://github.com/NixOS/nixpkgs/pull/496365 | 01:19:40 |
dish [Fox/It/She] | it's done! | 01:19:51 |
dish [Fox/It/She] | thanks to everyone who helped out with this | 01:20:02 |
| 1 Apr 2026 |
| @azban:matrix.org left the room. | 14:03:07 |
| 4 Apr 2026 |
Scrumplex | 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 | The pnpmFetcher in nixpkgs annoyed me really hard the last couple of days | 12:00:42 |
Scrumplex | 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 | * 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 |