[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#66537: [PATCH] doc: Recommend building in ‘guix shell -CPW’.
From: |
Ludovic Courtès |
Subject: |
bug#66537: [PATCH] doc: Recommend building in ‘guix shell -CPW’. |
Date: |
Wed, 22 Nov 2023 13:05:30 +0100 |
This was prompted by <https://issues.guix.gnu.org/66537>, where someone
tried to build Guix within ‘guix shell --pure’ on a foreign distro and
found that ./configure would pick software from the host system.
Suggested by Hiep Pham <hiepph9@proton.me>.
* doc/contributing.texi (Building from Git): Recommend ‘guix shell -CPW’.
Change-Id: I7694b482d982917fef6ec404f68ddacea761f482
---
doc/contributing.texi | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/doc/contributing.texi b/doc/contributing.texi
index f3cc4d7af7..da72eae067 100644
--- a/doc/contributing.texi
+++ b/doc/contributing.texi
@@ -76,15 +76,17 @@ Building from Git
hack on Guix:
@example
-guix shell -D guix --pure
+guix shell -D guix -CPW
@end example
or even, from within a Git worktree for Guix:
@example
-guix shell --pure
+guix shell -CPW
@end example
+If @option{-C} (short for @option{--container}) is not supported on your
+system, try @command{--pure} instead of @option{-CPW}.
@xref{Invoking guix shell}, for more information on that command.
If you are unable to use Guix when building Guix from a checkout, the
base-commit: d987b75618a62c95c030e7ca53e0972e700c4f06
--
2.41.0
- bug#66537: [PATCH] doc: Recommend building in ‘guix shell -CPW’.,
Ludovic Courtès <=