Hi Oleg, Oleg Pykhalov skribis: > ‘try-files’ are in ‘’ in origin/master now, > https://git.savannah.gnu.org/cgit/guix.git/commit/?id=4d14808af4c01b4fb0a4564584aa68f0e53c4ef4 Awesome. >> Please add a sentence above or below the example like “This example >> shows …”. > > Sorry, I don't understand what do you mean. There is a sentence above > example that answers a question “What does example do?” and I guess > “What does example show?”. Oops you’re right, sorry for overlooking this. > From 64b328c90fbaedca4b081fb33af6e3dbae27eeb6 Mon Sep 17 00:00:00 2001 > From: Oleg Pykhalov > Date: Thu, 28 Sep 2017 20:02:35 +0300 > Subject: [PATCH] gnu: services: version-control: Add cgit. > > * gnu/services/version-control.scm > (, ): New record types. > (cgit-configuration-robots-string, cgit-activation, > cgit-configuration-nginx-config): New procedures. > (%cgit-configuration-nginx, cgit-service-type): New variables. > * doc/guix.texi (Version Control): Document the cgit service. [...] > +(define-gexp-compiler (cgit-configuration-file-compiler > + (file ) system target) > + (match file > + (($ css logo > + robots virtual-root repository-directory) > + (text-file > + "cgitrc" > + (string-concatenate > + (filter-map > + (match-lambda > + ((key . #f) #f) > + ((key . value) (string-append key "=" value "\n"))) > + `(("css" . ,css) > + ("logo" . ,logo) > + ("robots" . ,(cgit-configuration-robots-string robots)) > + ("virtual-root" . ,virtual-root) > + ("repository-directory" . ,repository-directory)))))))) I changed this part like this so that things work as expected if we pass items that live in the store (along with other changes):