diff options
author | Ludovic Courtès <ludo@gnu.org> | 2020-10-20 09:32:45 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2020-10-20 16:30:15 +0200 |
commit | b8085fccf2289fb3c64f21d6c5f811afe00fcedf (patch) | |
tree | a0c54119b806c70c03d1a4546cf59005c4af96d9 /doc | |
parent | d154462bd83b7a9df0a7e84fe4d9e0759b97bef3 (diff) | |
download | guix-b8085fccf2289fb3c64f21d6c5f811afe00fcedf.tar guix-b8085fccf2289fb3c64f21d6c5f811afe00fcedf.tar.gz |
doc: Replace @example with @lisp in "Build Phases".
* doc/guix.texi (Build Phases): Use @lisp for second example.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/guix.texi | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/guix.texi b/doc/guix.texi index 7eba12aa44..cffd806363 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -7831,7 +7831,7 @@ Here is an example of a package definition that removes the phase before the @code{build} phase, called @code{set-prefix-in-makefile}: -@example +@lisp (define-public example (package (name "example") @@ -7850,7 +7850,7 @@ phase before the @code{build} phase, called (string-append "PREFIX = " out "\n"))) #true)))))))) -@end example +@end lisp The new phase that is inserted is written as an anonymous procedure, introduced with @code{lambda*}; it honors the @code{outputs} parameter |