diff options
author | Arun Isaac | 2023-12-20 09:20:33 +0000 |
---|---|---|
committer | Arun Isaac | 2023-12-20 09:20:33 +0000 |
commit | a1f3f4188ddec4c04249bf76336968deb0c1d45e (patch) | |
tree | 8dac2a5ffd0c619d231f4751e0a5025e54c791ad /guix | |
parent | 1505095fe7fc48be2c84ee34b7805d5fad8cfd84 (diff) | |
download | guix-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')
-rw-r--r-- | guix/forge/klaus.scm | 5 |
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) |