summary refs log tree commit diff
diff options
context:
space:
mode:
authorNathaniel Nicandro <nathanielnicandro@gmail.com>2023-05-04 09:58:27 -0500
committerLudovic Courtès <ludo@gnu.org>2023-05-11 16:38:29 +0200
commit2ecf4a9ba32b99558420443427ec581d507ef5b7 (patch)
tree05a0c10c36e5785bf9b7111824a89e5b354d525f
parentb8e912c35f03289cca711b8d9192bf7b815b4d81 (diff)
downloadguix-2ecf4a9ba32b99558420443427ec581d507ef5b7.tar.gz
doc: Update dicod-configuration example
* doc/guix.texi (Dictionary Service): Update dicod-configuration example to
fix outdated WordNet database configuration.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
-rw-r--r--doc/guix.texi8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index 31ebcf9db4..67b7373978 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -114,6 +114,7 @@ Copyright @copyright{} 2022 Ivan Vilata-i-Balaguer@*
 Copyright @copyright{} 2023 Giacomo Leidi@*
 Copyright @copyright{} 2022 Antero Mejr@*
 Copyright @copyright{} 2023 Karl Hallsby
+Copyright @copyright{} 2023 Nathaniel Nicandro
 
 Permission is granted to copy, distribute and/or modify this document
 under the terms of the GNU Free Documentation License, Version 1.3 or
@@ -38190,15 +38191,14 @@ The following is an example @code{dicod-service-type} configuration.
           (handlers (list
                      (dicod-handler
                       (name "wordnet")
-                      (module "dictorg")
+                      (module "wordnet")
                       (options
-                       (list #~(string-append "dbdir=" #$wordnet))))))
+                       (list #~(string-append "wnhome=" #$wordnet))))))
           (databases (list
                       (dicod-database
                        (name "wordnet")
                        (complex? #t)
-                       (handler "wordnet")
-                       (options '("database=wn")))
+                       (handler "wordnet"))
                       %dicod-database:gcide))))
 @end lisp