summary refs log tree commit diff
path: root/gnu/services
diff options
context:
space:
mode:
authorThomas Albers <thomas@thomaslabs.org>2023-08-08 18:37:10 +0200
committerLudovic Courtès <ludo@gnu.org>2023-09-09 15:54:37 +0200
commit4cf4bd1ebe1c4b206ffd686058acd69261672536 (patch)
treea708881c48ceb045a3b41b570073d74767a7e4fd /gnu/services
parent859928fc99015c64202eef6231c721e026925aec (diff)
downloadguix-4cf4bd1ebe1c4b206ffd686058acd69261672536.tar.gz
services: cgit: Allow file-like objects for ‘root-readme’.
* gnu/services/cgit.scm (cgit-configuration)[root-readme]: Accept
'file-object' instead of only 'string'

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/services')
-rw-r--r--gnu/services/cgit.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/services/cgit.scm b/gnu/services/cgit.scm
index e33cb9e7db..684ab73f76 100644
--- a/gnu/services/cgit.scm
+++ b/gnu/services/cgit.scm
@@ -581,7 +581,7 @@ removed for the URL and name.")
    (string "a fast webinterface for the git dscm")
    "Text printed below the heading on the repository index page.")
   (root-readme
-   (string "")
+   (file-object "")
    "The content of the file specified with this option will be included
 verbatim below the \"about\" link on the repository index page.")
   (root-title