summaryrefslogtreecommitdiff
path: root/forge
diff options
context:
space:
mode:
authorArun Isaac2022-02-18 09:58:32 +0530
committerArun Isaac2022-02-18 09:58:32 +0530
commit5802e500062f2e7ffbd2cc9861333ca41bb2f95d (patch)
tree7df4ee3b2323e3adebde9bea02585418de2f833f /forge
parent82ed8214c64ec990bf87b8354664ff939c41203d (diff)
downloadguix-forge-5802e500062f2e7ffbd2cc9861333ca41bb2f95d.tar.gz
guix-forge-5802e500062f2e7ffbd2cc9861333ca41bb2f95d.tar.lz
guix-forge-5802e500062f2e7ffbd2cc9861333ca41bb2f95d.zip
forge: Allow extension of forge-service-type.
* forge/forge.scm (forge-service-type): Allow extension of forge-service-type.
Diffstat (limited to 'forge')
-rw-r--r--forge/forge.scm6
1 files changed, 6 insertions, 0 deletions
diff --git a/forge/forge.scm b/forge/forge.scm
index bc81a80..0725ceb 100644
--- a/forge/forge.scm
+++ b/forge/forge.scm
@@ -284,4 +284,10 @@ derivation to run."
(forge-project-configuration-laminar-jobs project config)
#:reason "Webhook")))))
(forge-configuration-projects config))))))
+ (compose concatenate)
+ (extend (lambda (config projects)
+ (forge-configuration
+ (inherit config)
+ (projects (append (forge-configuration-projects config)
+ projects)))))
(default-value (forge-configuration))))