nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix

node-packages: Update the README

+6 -6
+6 -6
pkgs/development/node-packages/README.md
··· 1 1 Node.js packages 2 - =============== 2 + ================ 3 3 To add a package from [NPM](https://www.npmjs.com/) to nixpkgs: 4 4 5 - 1. Modify `pkgs/development/node-packages/node-packages.json`, to add, update, 6 - or remove package entries. (or `pkgs/development/node-packages/node-packages-v4.json` 7 - for packagages depending on node.js 4.x) 8 - 2. Run the script: `cd pkgs/development/node-packages && sh generate.sh`. 5 + 1. Modify `pkgs/development/node-packages/node-packages-v6.json` to add, update 6 + or remove package entries. (Or `pkgs/development/node-packages/node-packages-v4.json` 7 + for packagages depending on Node.js 4.x) 8 + 2. Run the script: `cd pkgs/development/node-packages && ./generate.sh`. 9 9 3. Build your new package to test your changes: 10 10 `cd /path/to/nixpkgs && nix-build -A nodePackages.<new-or-updated-package>`. 11 - To build against a specific node.js version (e.g. 4.x): 11 + To build against a specific Node.js version (e.g. 4.x): 12 12 `nix-build -A nodePackages_4_x.<new-or-updated-package>` 13 13 4. Add and commit all modified and generated files.