summaryrefslogtreecommitdiff
path: root/guix/build-system
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 /guix/build-system
parentf92854fea150f0d47c4984f87bf21bd5f8051820 (diff)
downloadpatches-78b3748c1c5446f19e7a74ec424d61a7826fc843.tar
patches-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 'guix/build-system')
-rw-r--r--guix/build-system/dune.scm2
1 files changed, 2 insertions, 0 deletions
diff --git a/guix/build-system/dune.scm b/guix/build-system/dune.scm
index 8bd41c89f0..6a2f3d16de 100644
--- a/guix/build-system/dune.scm
+++ b/guix/build-system/dune.scm
@@ -87,6 +87,7 @@
(build-flags ''())
(out-of-source? #t)
(jbuild? #f)
+ (package #f)
(tests? #t)
(test-flags ''())
(test-target "test")
@@ -125,6 +126,7 @@ provides a 'setup.ml' file as its build system."
#:build-flags ,build-flags
#:out-of-source? ,out-of-source?
#:jbuild? ,jbuild?
+ #:package ,package
#:tests? ,tests?
#:test-target ,test-target
#:install-target ,install-target