diff options
Diffstat (limited to 'guix/forge')
-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) |