doc: Improve building from git instructions.

* doc/contributing.texi (Building from Git): Improve instructions.
Include 'cd' and authorizing the directory for guix shell.

Change-Id: Ied8eb7553ab92504a87c0059820ca154a18c33ab
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Hugo Buddelmeijer 2025-12-23 12:07:02 +01:00 committed by Ludovic Courtès
parent c2b1128c7c
commit 8c34dfeec2
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -142,6 +142,7 @@ Guix Consensus Document 003}.}:
@example
git clone https://git.guix.gnu.org/guix.git
cd guix
@end example
@cindex authentication, of a Guix checkout
@ -181,6 +182,7 @@ guix shell -D guix -CPW
or even, from within a Git worktree for Guix:
@example
echo $(pwd) >> ~/.config/guix/shell-authorized-directories
guix shell -CPW
@end example