From a1f3f4188ddec4c04249bf76336968deb0c1d45e Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Wed, 20 Dec 2023 09:20:33 +0000 Subject: klaus: Make klaus package a configurable keyword argument. * guix/forge/klaus.scm (klaus-gunicorn-app): Make klaus package a configurable keyword argument. --- guix/forge/klaus.scm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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{} or @code{} 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) -- cgit v1.2.3