node-packages: wrong version number in packaging guideline
This commit is contained in:
parent
e95352cfdd
commit
d3c0ade39a
@ -8,6 +8,6 @@ To add a package from [NPM](https://www.npmjs.com/) to nixpkgs:
|
|||||||
2. Run the script: `cd pkgs/development/node-packages && sh generate.sh`.
|
2. Run the script: `cd pkgs/development/node-packages && sh generate.sh`.
|
||||||
3. Build your new package to test your changes:
|
3. Build your new package to test your changes:
|
||||||
`cd /path/to/nixpkgs && nix-build -A nodePackages.<new-or-updated-package>`.
|
`cd /path/to/nixpkgs && nix-build -A nodePackages.<new-or-updated-package>`.
|
||||||
To build against a specific node.js version (e.g. 5.x):
|
To build against a specific node.js version (e.g. 4.x):
|
||||||
`nix-build -A nodePackages_4_x.<new-or-updated-package>`
|
`nix-build -A nodePackages_4_x.<new-or-updated-package>`
|
||||||
4. Add and commit all modified and generated files.
|
4. Add and commit all modified and generated files.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user