summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorJulien Lepiller <julien@lepiller.eu>2019-03-23 19:18:31 +0100
committerJulien Lepiller <julien@lepiller.eu>2019-03-23 22:58:52 +0100
commit78b3748c1c5446f19e7a74ec424d61a7826fc843 (patch)
treed84dd3712d442643de02fc839c31dc2993b715b5 /doc
parentf92854fea150f0d47c4984f87bf21bd5f8051820 (diff)
downloadguix-78b3748c1c5446f19e7a74ec424d61a7826fc843.tar.gz
guix: dune-build-system: Add a package parameter.
* guix/build-system/dune.scm: Add a package parameter.
* guix/build/dune.scm (build, test, install): Use it.
* doc/guix.texi: Document it.
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 d10fbce3a4..6e8ce3c084 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -5816,6 +5816,11 @@ list of flags passed to the @code{dune} command during the build.
 The @code{#:jbuild?} parameter can be passed to use the @code{jbuild}
 command instead of the more recent @code{dune} command while building
 a package.  Its default value is @code{#f}.
+
+The @code{#:package} parameter can be passed to specify a package name, which
+is useful when a package contains multiple packages and you want to build
+only one of them.  This is equivalent to passing the @code{-p} argument to
+@code{dune}.
 @end defvr
 
 @defvr {Scheme Variable} go-build-system