We have pkgs.{python,ruby,perl,lua}.withPackages, why we don’t have pkgs.nodejs.withPackages?
Currently:
❯ npm list -g
/nix/store/jz54v1m0ldqivx5i45q8i05pz5clf842-nodejs-20.18.0/lib
├── corepack@0.29.3
└── npm@10.8.2
It we have pkgs.nodejs.withPackages, it should be:
❯ npm list -g
/nix/store/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-nodejs-20.18.0-env/lib
├── ...
├── corepack@0.29.3
└── npm@10.8.2
deno, bun’s withPackages should be same as node’s withPackages.