aboutsummaryrefslogtreecommitdiff
path: root/gnu/services/databases.scm
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2018-03-17 20:23:33 +0000
committerChristopher Baines <mail@cbaines.net>2018-03-17 20:31:37 +0000
commit533808383f7fca6563aee1452f5202e0cd1b66b8 (patch)
treebb2e26fed1dc07960bce51fd2a92f2906aedf0ef /gnu/services/databases.scm
parent3def739da13a166769777d0db7baba79230f64ae (diff)
downloadguix-533808383f7fca6563aee1452f5202e0cd1b66b8.tar
guix-533808383f7fca6563aee1452f5202e0cd1b66b8.tar.gz
services: databases: Change quote' to single-quote.
In the postgresql-config-file gexp compiler. * gnu/services/databases.scm (postgresql-config-file-compiler): Change quote' to single-quote.
Diffstat (limited to 'gnu/services/databases.scm')
-rw-r--r--gnu/services/databases.scm8
1 files changed, 4 insertions, 4 deletions
diff --git a/gnu/services/databases.scm b/gnu/services/databases.scm
index 72927c4534..8ae248ebe4 100644
--- a/gnu/services/databases.scm
+++ b/gnu/services/databases.scm
@@ -112,7 +112,7 @@ host all all ::1/128 trust"))
(match file
(($ <postgresql-config-file> log-destination hba-file
ident-file extra-config)
- (define (quote' string)
+ (define (single-quote string)
(if string
(list "'" string "'")
'()))
@@ -124,9 +124,9 @@ host all all ::1/128 trust"))
((key . #f) '())
((key values ...) `(,key " = " ,@values "\n")))
- `(("log_destination" ,@(quote' log-destination))
- ("hba_file" ,@(quote' hba-file))
- ("ident_file" ,@(quote' ident-file))
+ `(("log_destination" ,@(single-quote log-destination))
+ ("hba_file" ,@(single-quote hba-file))
+ ("ident_file" ,@(single-quote ident-file))
,@extra-config)))
(gexp->derivation