summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorJörg Thalheim <Mic92@users.noreply.github.com>2018-09-01 09:09:24 +0100
committerGitHub <noreply@github.com>2018-09-01 09:09:24 +0100
commit4a74aca868b4e3c7bb8c186ae5c6e103b5e8ca78 (patch)
treea34bafbd3a7b619bb476a803643d16ad7d685290 /doc
parent04519fbf06778ea0be5c92252e3022af1c99046e (diff)
parentca0260e2df6d1db7c848160f7c01ae3315e34aa3 (diff)
downloadnixlib-4a74aca868b4e3c7bb8c186ae5c6e103b5e8ca78.tar
nixlib-4a74aca868b4e3c7bb8c186ae5c6e103b5e8ca78.tar.gz
nixlib-4a74aca868b4e3c7bb8c186ae5c6e103b5e8ca78.tar.bz2
nixlib-4a74aca868b4e3c7bb8c186ae5c6e103b5e8ca78.tar.lz
nixlib-4a74aca868b4e3c7bb8c186ae5c6e103b5e8ca78.tar.xz
nixlib-4a74aca868b4e3c7bb8c186ae5c6e103b5e8ca78.tar.zst
nixlib-4a74aca868b4e3c7bb8c186ae5c6e103b5e8ca78.zip
Merge pull request #45700 from Mic92/node-packages-v8
nodePackages: 6_x -> 8_x
Diffstat (limited to 'doc')
-rw-r--r--doc/languages-frameworks/node.section.md14
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/languages-frameworks/node.section.md b/doc/languages-frameworks/node.section.md
index 17a203ed12be..f6701c1ab9c4 100644
--- a/doc/languages-frameworks/node.section.md
+++ b/doc/languages-frameworks/node.section.md
@@ -14,7 +14,7 @@ project.
 
 The package set also provides support for multiple Node.js versions. The policy
 is that a new package should be added to the collection for the latest stable LTS
-release (which is currently 6.x), unless there is an explicit reason to support
+release (which is currently 8.x), unless there is an explicit reason to support
 a different release.
 
 If your package uses native addons, you need to examine what kind of native
@@ -26,7 +26,7 @@ build system it uses. Here are some examples:
 
 After you have identified the correct system, you need to override your package
 expression while adding in build system as a build input. For example, `dat`
-requires `node-gyp-build`, so we override its expression in `default-v6.nix`:
+requires `node-gyp-build`, so we override its expression in `default-v8.nix`:
 
 ```nix
 dat = nodePackages.dat.override (oldAttrs: {
@@ -36,14 +36,14 @@ dat = nodePackages.dat.override (oldAttrs: {
 
 To add a package from NPM to nixpkgs:
 
- 1. Modify `pkgs/development/node-packages/node-packages-v6.json` to add, update
-    or remove package entries. (Or `pkgs/development/node-packages/node-packages-v4.json`
-    for packages depending on Node.js 4.x)
+ 1. Modify `pkgs/development/node-packages/node-packages-v8.json` to add, update
+    or remove package entries. (Or `pkgs/development/node-packages/node-packages-v10.json`
+    for packages depending on Node.js 10.x)
  2. Run the script: `(cd pkgs/development/node-packages && ./generate.sh)`.
  3. Build your new package to test your changes:
     `cd /path/to/nixpkgs && nix-build -A nodePackages.<new-or-updated-package>`.
-    To build against a specific Node.js version (e.g. 4.x):
-    `nix-build -A nodePackages_4_x.<new-or-updated-package>`
+    To build against a specific Node.js version (e.g. 10.x):
+    `nix-build -A nodePackages_10_x.<new-or-updated-package>`
  4. Add and commit all modified and generated files.
 
 For more information about the generation process, consult the