mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-05 21:03:40 +00:00
doc: Document nodejsInstallManuals
This commit is contained in:
@@ -28,6 +28,7 @@ meson.section.md
|
||||
mpi-check-hook.section.md
|
||||
ninja.section.md
|
||||
nodejs-install-executables.section.md
|
||||
nodejs-install-manuals.section.md
|
||||
npm-build-hook.section.md
|
||||
npm-config-hook.section.md
|
||||
npm-install-hook.section.md
|
||||
|
||||
12
doc/hooks/nodejs-install-manuals.section.md
Normal file
12
doc/hooks/nodejs-install-manuals.section.md
Normal file
@@ -0,0 +1,12 @@
|
||||
# nodejsInstallManuals {#nodejs-install-manuals}
|
||||
|
||||
Detects manuals in Node.js packages, and attempts to install them in standard locations.
|
||||
This detection is done by inspecting the package.json of the project and finding any entries
|
||||
with type `man`.
|
||||
|
||||
|
||||
There are no ways currently to configure this hook.
|
||||
|
||||
## Examples {#nodejs-install-manuals-example}
|
||||
|
||||
[](#npm-build-hook-example-snippet)
|
||||
@@ -15,6 +15,7 @@ Hook for building packages that use npm. Can be used in multi-language environme
|
||||
fetchNpmDeps,
|
||||
npmHooks,
|
||||
nodejsInstallExecutables,
|
||||
nodejsInstallManuals,
|
||||
nodejs,
|
||||
}:
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
@@ -33,6 +34,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
nativeBuildInputs = [
|
||||
nodejs
|
||||
nodejsInstallExecutables
|
||||
nodejsInstallManuals
|
||||
npmHooks.npmConfigHook
|
||||
npmHooks.npmBuildHook
|
||||
npmHooks.npmInstallHook
|
||||
|
||||
@@ -218,6 +218,12 @@
|
||||
"nodejs-install-executables-wrapper-args": [
|
||||
"index.html#nodejs-install-executables-wrapper-args"
|
||||
],
|
||||
"nodejs-install-manuals": [
|
||||
"index.html#nodejs-install-manuals"
|
||||
],
|
||||
"nodejs-install-manuals-example": [
|
||||
"index.html#nodejs-install-manuals-example"
|
||||
],
|
||||
"nostrictaliasing": [
|
||||
"index.html#nostrictaliasing"
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user