doc: Replace @example with @lisp in "Build Phases".
* doc/guix.texi (Build Phases): Use @lisp for second example.
This commit is contained in:
parent
d154462bd8
commit
b8085fccf2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user