unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: guix-patches@gnu.org
Cc: 66537@debbugs.gnu.org, "Ludovic Courtès" <ludo@gnu.org>,
	"Hiep Pham" <hiepph9@proton.me>
Subject: bug#66537: [PATCH] doc: Recommend building in ‘guix shell -CPW’.
Date: Wed, 22 Nov 2023 13:05:30 +0100	[thread overview]
Message-ID: <2d49ea4ddadceb4a3017f1a6032fb2858616cdee.1700654648.git.ludo@gnu.org> (raw)
In-Reply-To: <6e30603f-4ae2-4de2-af46-dc2fc2ee6bc9@proton.me>

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





  reply	other threads:[~2023-11-22 12:06 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-14 12:49 bug#66537: configure: error: The Guile bindings of GnuTLS are missing Hiep Pham via Bug reports for GNU Guix
2023-10-17  8:59 ` Daniel Meißner via Bug reports for GNU Guix
2023-10-17 10:28   ` Hiep Pham via Bug reports for GNU Guix
2023-11-22 12:05     ` Ludovic Courtès [this message]
2023-11-29 19:33       ` bug#66537: [PATCH] doc: Recommend building in ‘guix shell -CPW’ Simon Tournier
2023-12-08 15:50         ` bug#66537: configure: error: The Guile bindings of GnuTLS are missing Simon Tournier
2023-12-19  9:30           ` bug#66537: [PATCH] doc: Recommend building in ‘guix shell -CPW’ Simon Tournier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2d49ea4ddadceb4a3017f1a6032fb2858616cdee.1700654648.git.ludo@gnu.org \
    --to=ludo@gnu.org \
    --cc=66537@debbugs.gnu.org \
    --cc=guix-patches@gnu.org \
    --cc=hiepph9@proton.me \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).