summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2026-04-10 15:10:06 +0200
committerLudovic Courtès <ludo@gnu.org>2026-04-20 15:03:12 +0200
commitfe376cdf4a43e5f33df84bf660aeaa70fdb2b179 (patch)
treeec9d9eb70abaff840bbbe40f1e5434df89485107 /doc
parentd636e801be0d5de46273c283b80fb940b0f9a05a (diff)
doc: Fix typographical issues in “Invoking guix style”.
* doc/guix.texi (Invoking guix style): Fix typographic issues. Use less horizontal space in example. Change-Id: Ibc8c89e4f0ae1f8ea03c4d706280b424533b0e48 Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/guix.texi20
1 files changed, 11 insertions, 9 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index 5a2c886187..254379da41 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -16095,7 +16095,7 @@ it unchanged.
@item git-source
If the @code{home-page} is a Git repository (as per
@code{git-repository-url?}), and the actual Git repository is tagged
-with @code{version} or @code{(string-append ``v'' version)}, change the
+with a version string, possibly prefixed by ``v'', change the
package origin to the @code{git-fetch} method
(@pxref{origin Reference}). Consider this example:
@@ -16124,14 +16124,16 @@ its @code{source} field like to:
(inherit guile-json-3)
(name "guile-json")
(version "4.7.3")
- (source (origin
- (method git-fetch)
- (uri (git-reference (url
- "https://github.com/aconchillo/guile-json")
- (commit version)))
- (file-name (git-file-name name version))
- (sha256 (base32
- "0akhm8xjv8fl55fyq0w6c9c6hi5j7mifjx01w07np7qg1cjl9f06"))))))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/aconchillo/guile-json")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0akhm8xjv8fl55fyq0w6c9c6hi5j7mifjx01w07np7qg1cjl9f06"))))))
@end lisp
@end table