guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/11: services: cgit: Allow file-like objects for ‘root-readme’.


From: guix-commits
Subject: 02/11: services: cgit: Allow file-like objects for ‘root-readme’.
Date: Sat, 9 Sep 2023 09:57:43 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 4cf4bd1ebe1c4b206ffd686058acd69261672536
Author: Thomas Albers <thomas@thomaslabs.org>
AuthorDate: Tue Aug 8 18:37:10 2023 +0200

    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>
---
 gnu/services/cgit.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]