Fix node2nix installation instructions in README

This commit is contained in:
Luca Bruno 2017-04-23 13:47:59 +01:00
parent 7ff2fde215
commit fa652cef22

View file

@ -2,7 +2,7 @@ Node.js packages
===============
To add a package from [NPM](https://www.npmjs.com/) to nixpkgs:
1. Install node2nix: `nix-env -f '<nixpkgs>' -iA node2nix`.
1. Install node2nix: `nix-env -f '<nixpkgs>' -iA nodePackages.node2nix`.
2. Modify `pkgs/development/node-packages/node-packages.json`, to add, update,
or remove package entries.
3. Run the script: `cd pkgs/development/node-packages && sh generate.sh`.