[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
From: |
Mathieu Othacehe |
Date: |
Thu, 11 Mar 2021 13:32:02 -0500 (EST) |
branch: master
commit bd8af796d8dcce9f5def5667270a19df059b1c70
Author: Mathieu Othacehe <othacehe@gnu.org>
AuthorDate: Thu Mar 11 17:37:47 2021 +0100
Add build types list.
---
src/cuirass/specification.scm | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/src/cuirass/specification.scm b/src/cuirass/specification.scm
index 5d3045f..b958ed4 100644
--- a/src/cuirass/specification.scm
+++ b/src/cuirass/specification.scm
@@ -38,6 +38,8 @@
channel->sexp
sexp->channel*
+ %build-types
+
specification
specification?
specification-name
@@ -135,11 +137,15 @@
;;; Specification record.
;;;
+;; The list of possible build types.
+(define %build-types
+ '(all core guix hello packages manifests))
+
(define-record-type* <specification>
specification make-specification
specification?
(name specification-name) ;symbol
- (build specification-build ;symbol
+ (build specification-build ;symbol for %build-types
(default 'all))
(channels specification-channels ;list of <channel>
(default (list %default-guix-channel)))