summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorFlorian Pelz <pelzflorian@pelzflorian.de>2019-11-06 19:28:57 +0100
committerFlorian Pelz <pelzflorian@pelzflorian.de>2019-11-07 22:15:12 +0000
commitbfe6bc97f596d1782aacf9159b1bb0bec1e9ff99 (patch)
tree5d34add88eed00a1b07f2144f654b6700fe6e33d /doc
parent00e680a411652e30d18839fa9ec86cf4068164de (diff)
downloadguix-bfe6bc97f596d1782aacf9159b1bb0bec1e9ff99.tar.gz
doc: Add clarification on the '--source' build option.
Emphasize that what the '--source' build option downloads is
insufficient for reproducing the packages.

* doc/guix.texi (Additional Build Options): Explain more.
Diffstat (limited to 'doc')
-rw-r--r--doc/guix.texi5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index 4df928e400..27cb31dde5 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -8318,6 +8318,11 @@ The returned source tarball is the result of applying any patches and
 code snippets specified in the package @code{origin} (@pxref{Defining
 Packages}).
 
+Note that @command{guix build -S} compiles the sources only of the
+specified packages.  They do not include the sources of statically
+linked dependencies and by themselves are insufficient for reproducing
+the packages.
+
 @item --sources
 Fetch and return the source of @var{package-or-derivation} and all their
 dependencies, recursively.  This is a handy way to obtain a local copy