doc: cookbook: Fix typos.

* doc/guix-cookbook.texi (Extended example): Fix typos.
This commit is contained in:
Ludovic Courtès 2020-06-23 08:57:58 +02:00
parent 501d89d707
commit 4ebbd92c29
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -847,14 +847,14 @@ To ensure that the source code from the Git repository is stored in a
directory with a descriptive name, we use @code{(file-name (git-file-name name directory with a descriptive name, we use @code{(file-name (git-file-name name
version))}. version))}.
The @code{git-version} procedure that can be used to derive the The @code{git-version} procedure can be used to derive the
version when packaging programs for a specific commit, following the version when packaging programs for a specific commit, following the
Guix contributor guidelines (@pxref{Version Numbers,,, guix, GNU Guix Guix contributor guidelines (@pxref{Version Numbers,,, guix, GNU Guix
Reference Manual}). Reference Manual}).
How does one obtain the @code{sha256} hash that's in there, you ask? By How does one obtain the @code{sha256} hash that's in there, you ask? By
invoking @command{guix hash} on a checkout of the desired commit, along invoking @command{guix hash} on a checkout of the desired commit, along
the lines: these lines:
@example @example
git clone https://github.com/libgit2/libgit2/ git clone https://github.com/libgit2/libgit2/