summaryrefslogtreecommitdiff
path: root/doc/guix.texi
diff options
context:
space:
mode:
Diffstat (limited to 'doc/guix.texi')
-rw-r--r--doc/guix.texi15
1 files changed, 8 insertions, 7 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index d974a5cdf24..7950843c3c2 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -15733,13 +15733,6 @@ guix import npm-binary buffer-crc32@@1.0.0
15733@end example 15733@end example
15734 15734
15735@quotation Note 15735@quotation Note
15736Generated package expressions skip the build step of the
15737@code{node-build-system}. As such, generated package expressions often
15738refer to transpiled or generated files, instead of being built from
15739source.
15740@end quotation
15741
15742@quotation Note
15743Currently, the generated package definition contains a phase to delete 15736Currently, the generated package definition contains a phase to delete
15744the development dependencies (@code{devDependencies}) from the 15737the development dependencies (@code{devDependencies}) from the
15745@file{package.json} file, if there are such dependencies, to reduce the 15738@file{package.json} file, if there are such dependencies, to reduce the
@@ -15756,6 +15749,14 @@ Additional options include:
15756Traverse the dependency graph of the given upstream package recursively 15749Traverse the dependency graph of the given upstream package recursively
15757and generate package expressions for all those packages that are not yet 15750and generate package expressions for all those packages that are not yet
15758in Guix. 15751in Guix.
15752@item --binary
15753@itemx -b
15754Import a binary NPM package. This means preferring the use of a
15755@url{https://registry.npmjs.org/} source origin, which typically bundles
15756pre-built artifacts, along removing the @code{build} phase to avoid
15757rebuilding such artifacts from source. This should only be used as a
15758last resort, as it is preferable building everything from source, to
15759preserve referential transparency and the chain of trust.
15759@end table 15760@end table
15760 15761
15761@item opam 15762@item opam