doc: Turn example to lisp.

* doc/guix.texi (System Images): Turn example snippets to lisp snippets.
This commit is contained in:
Mathieu Othacehe 2022-09-25 11:38:11 +02:00
parent 506e0aa438
commit e842aeb8c1
No known key found for this signature in database
GPG Key ID: 8354763531769CA6
1 changed files with 4 additions and 4 deletions

View File

@ -41711,7 +41711,7 @@ A Docker image that can be used to spawn a Docker container.
Using the @code{efi-disk-image} we can simplify our previous
@code{image} declaration this way:
@example
@lisp
(use-modules (gnu)
(gnu image)
(gnu tests)
@ -41740,7 +41740,7 @@ Using the @code{efi-disk-image} we can simplify our previous
(match (image-partitions efi-disk-image)
((esp root)
(list esp data root)))))
@end example
@end lisp
This will give the exact same @code{image} instantiation but the
@code{image} declaration is simpler.
@ -41902,12 +41902,12 @@ Now, thanks to the @code{pine64-image-type} record declaring the
@code{'pine64-raw} @code{image-type}, one could also prepare a
@code{my-pine.scm} file with the following content:
@example
@lisp
(use-modules (gnu system images pine64))
(operating-system
(inherit pine64-barebones-os)
(timezone "Europe/Athens"))
@end example
@end lisp
to customize the @code{pine64-barebones-os}, and run: