diff options
author | Ludovic Courtès <ludo@gnu.org> | 2020-10-15 15:16:59 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2020-10-15 18:50:22 +0200 |
commit | 7802988201820dd951407521e243557293dceb94 (patch) | |
tree | 2a58147cc73738d5a35944100cc239eafc7ec0d2 /doc | |
parent | 339177956affdc471832750a3805b74356487e93 (diff) | |
download | guix-7802988201820dd951407521e243557293dceb94.tar.gz |
doc: cookbook: Fix 'let' form in example.
* doc/guix-cookbook.texi (Extended example): Fix 'let' form in example.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/guix-cookbook.texi | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/guix-cookbook.texi b/doc/guix-cookbook.texi index db3d7e505b..c4abeda1e1 100644 --- a/doc/guix-cookbook.texi +++ b/doc/guix-cookbook.texi @@ -1084,11 +1084,11 @@ this: @lisp (lambda* (#:key inputs outputs #:allow-other-keys) - (let (((bash-directory (assoc-ref inputs "bash")) - (output-directory (assoc-ref outputs "out")) - (doc-directory (assoc-ref outputs "doc")) - ; ... - #t) + (let ((bash-directory (assoc-ref inputs "bash")) + (output-directory (assoc-ref outputs "out")) + (doc-directory (assoc-ref outputs "doc"))) + ;; ... + #t)) @end lisp The procedure must return @code{#true} on success. It's brittle to rely on the return |