doc: Replace @example with @lisp in "Build Phases".
* doc/guix.texi (Build Phases): Use @lisp for second example.master
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
|
phase before the @code{build} phase, called
|
||||||
@code{set-prefix-in-makefile}:
|
@code{set-prefix-in-makefile}:
|
||||||
|
|
||||||
@example
|
@lisp
|
||||||
(define-public example
|
(define-public example
|
||||||
(package
|
(package
|
||||||
(name "example")
|
(name "example")
|
||||||
|
@ -7850,7 +7850,7 @@ phase before the @code{build} phase, called
|
||||||
(string-append "PREFIX = "
|
(string-append "PREFIX = "
|
||||||
out "\n")))
|
out "\n")))
|
||||||
#true))))))))
|
#true))))))))
|
||||||
@end example
|
@end lisp
|
||||||
|
|
||||||
The new phase that is inserted is written as an anonymous procedure,
|
The new phase that is inserted is written as an anonymous procedure,
|
||||||
introduced with @code{lambda*}; it honors the @code{outputs} parameter
|
introduced with @code{lambda*}; it honors the @code{outputs} parameter
|
||||||
|
|
Reference in New Issue