doc: Fix syntax of Varnish example.

* doc/guix.texi (Web Services): Escape nested string in '%gnu-mirror'
variable definition.  Adjust indentation.
This commit is contained in:
Ludovic Courtès 2019-09-25 17:49:41 +02:00
parent 205a0fe094
commit 4a506da83a
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 4 additions and 5 deletions

View File

@ -19819,13 +19819,12 @@ can do something along these lines:
@lisp
(define %gnu-mirror
(plain-file
"gnu.vcl"
"vcl 4.1;
backend gnu @{ .host = "www.gnu.org"; @}"))
(plain-file "gnu.vcl"
"vcl 4.1;
backend gnu @{ .host = \"www.gnu.org\"; @}"))
(operating-system
...
;; @dots{}
(services (cons (service varnish-service-type
(varnish-configuration
(listen '(":80"))