NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
16.48k stars 12.97k forks source link

Documentation: nixpkgs manual should warn against editing `nodePackages` #319341

Open lelgenio opened 3 weeks ago

lelgenio commented 3 weeks ago

Problem

The javascript packages in nixpkgs section immediately starts covering nodePackages. This is no longer the recommended way to add nodejs packages.

Proposal

I think more focus should incentivize the use of buildNpmPackage by presenting it front and center as the recommended method.

Checklist


Add a :+1: reaction to issues you find important.

eclairevoyant commented 3 weeks ago

We should probably just remove that section entirely, and keep contribution instructions in-repo...