diff options
author | Christopher Baines <mail@cbaines.net> | 2018-04-25 08:18:38 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2018-05-18 17:24:39 +0100 |
commit | 6ee3f3dec72f87187226bc11ff190f030169e55a (patch) | |
tree | 8668011e1bde39c8028356b49bf71ec15ac41e3c /tests/guix-package-net.sh | |
parent | c3343d62f682b33b1eefce74e9b08585faa8680c (diff) | |
download | guix-6ee3f3dec72f87187226bc11ff190f030169e55a.tar guix-6ee3f3dec72f87187226bc11ff190f030169e55a.tar.gz |
services: cgit: Make project-list permit a file-object.
Instead of having the service manage the list, it's useful to be able to point
this at an existing file, for example, when using cgit together with gitolite.
* gnu/services/cgit.scm (project-list?): New procedure.
(serialize-project-list): Handle file-object values.
(<cgit-configuration>): Change the predicate for project-list to allow lists
and file-objects.
Diffstat (limited to 'tests/guix-package-net.sh')
0 files changed, 0 insertions, 0 deletions