summaryrefslogtreecommitdiff
path: root/forge
diff options
context:
space:
mode:
authorArun Isaac2022-02-28 17:38:24 +0530
committerArun Isaac2022-02-28 18:11:03 +0530
commitd4b1c6456fa4628aa408191eb6e8ee0d3001450d (patch)
tree37a4c0b6a84476c769d0ad9faccb5e4dbf9f0b45 /forge
parent34626706e4486efdcc61422f4f2db299afb3f7ae (diff)
downloadguix-forge-d4b1c6456fa4628aa408191eb6e8ee0d3001450d.tar.gz
guix-forge-d4b1c6456fa4628aa408191eb6e8ee0d3001450d.tar.lz
guix-forge-d4b1c6456fa4628aa408191eb6e8ee0d3001450d.zip
forge: Require laminar service for forge-laminar service.
The forge-laminar service should require the laminar service, and transparently set it up even if the user has not explicitly specified it. * forge/laminar.scm: Import (gnu services ci). (forge-laminar-service-type): Extend laminar-service-type with a dummy value, thus requiring it.
Diffstat (limited to 'forge')
-rw-r--r--forge/laminar.scm7
1 files changed, 6 insertions, 1 deletions
diff --git a/forge/laminar.scm b/forge/laminar.scm
index 9ce12d0..5d95372 100644
--- a/forge/laminar.scm
+++ b/forge/laminar.scm
@@ -21,6 +21,7 @@
#:use-module (gnu)
#:use-module (srfi srfi-1)
#:use-module (gnu packages ci)
+ #:use-module (gnu services ci)
#:use-module (guix records)
#:export (forge-laminar-service-type
forge-laminar-configuration
@@ -118,7 +119,11 @@
(name 'forge-laminar)
(description "Run forge-laminar.")
(extensions (list (service-extension activation-service-type
- forge-laminar-activation)))
+ forge-laminar-activation)
+ ;; Extend the laminar service with a dummy value,
+ ;; thus requiring it.
+ (service-extension laminar-service-type
+ (const #t))))
(compose concatenate)
(extend (lambda (config extended-values)
(forge-laminar-configuration