mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
Fix node2nix installation instructions in README
This commit is contained in:
parent
7ff2fde215
commit
fa652cef22
1 changed files with 1 additions and 1 deletions
|
@ -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`.
|
||||
|
|
Loading…
Reference in a new issue