aboutsummaryrefslogtreecommitdiff
path: root/guix/forge
diff options
context:
space:
mode:
authorArun Isaac2023-12-20 09:20:33 +0000
committerArun Isaac2023-12-20 09:20:33 +0000
commita1f3f4188ddec4c04249bf76336968deb0c1d45e (patch)
tree8dac2a5ffd0c619d231f4751e0a5025e54c791ad /guix/forge
parent1505095fe7fc48be2c84ee34b7805d5fad8cfd84 (diff)
downloadguix-forge-a1f3f4188ddec4c04249bf76336968deb0c1d45e.tar.gz
guix-forge-a1f3f4188ddec4c04249bf76336968deb0c1d45e.tar.lz
guix-forge-a1f3f4188ddec4c04249bf76336968deb0c1d45e.zip
klaus: Make klaus package a configurable keyword argument.
* guix/forge/klaus.scm (klaus-gunicorn-app): Make klaus package a configurable keyword argument.
Diffstat (limited to 'guix/forge')
-rw-r--r--guix/forge/klaus.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/guix/forge/klaus.scm b/guix/forge/klaus.scm
index 6f17b4f..5227b74 100644
--- a/guix/forge/klaus.scm
+++ b/guix/forge/klaus.scm
@@ -124,6 +124,7 @@ routes using HTTP Digest Authentication.")
(define* (klaus-gunicorn-app repository-directory
#:key
+ (klaus python-klaus)
(sockets (list (forge-unix-socket
(path "/var/run/gunicorn/klaus/socket"))))
site-name)
@@ -132,6 +133,8 @@ routes using HTTP Digest Authentication.")
@var{repository-directory} is the path to the directory containing git
repositories to serve.
+@var{klaus} is the klaus package to use.
+
@var{sockets} is a list of @code{<forge-ip-socket>} or
@code{<forge-unix-socket>} objects describing sockets to listen on.
@@ -139,7 +142,7 @@ repositories to serve.
banner."
(gunicorn-app
(name "klaus")
- (package python-klaus)
+ (package klaus)
(wsgi-app-module "klaus.contrib.wsgi_autoreload")
(sockets sockets)
(environment-variables `(("KLAUS_REPOS_ROOT" . ,repository-directory)