[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: doc: Turn example to lisp.
From: |
guix-commits |
Subject: |
branch master updated: doc: Turn example to lisp. |
Date: |
Sun, 25 Sep 2022 05:39:00 -0400 |
This is an automated email from the git hooks/post-receive script.
mothacehe pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new e842aeb8c1 doc: Turn example to lisp.
e842aeb8c1 is described below
commit e842aeb8c16c9f955f26700620cb7146b1fe2e39
Author: Mathieu Othacehe <othacehe@gnu.org>
AuthorDate: Sun Sep 25 11:38:11 2022 +0200
doc: Turn example to lisp.
* doc/guix.texi (System Images): Turn example snippets to lisp snippets.
---
doc/guix.texi | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/doc/guix.texi b/doc/guix.texi
index 36a9e87619..c534574f81 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -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:
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: doc: Turn example to lisp.,
guix-commits <=