doc: Replace @example with @lisp in "Build Phases".

* doc/guix.texi (Build Phases): Use @lisp for second example.
This commit is contained in:
Ludovic Courtès 2020-10-20 09:32:45 +02:00
parent d154462bd8
commit b8085fccf2
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -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