From patchwork Wed Nov 22 12:05:30 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Ludovic_Court=C3=A8s?= X-Patchwork-Id: 56723 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 77EF827BBEA; Wed, 22 Nov 2023 12:06:26 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 1191B27BBE2 for ; Wed, 22 Nov 2023 12:06:26 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r5lzV-00049H-5O; Wed, 22 Nov 2023 07:06:01 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r5lzT-00048y-VI for guix-patches@gnu.org; Wed, 22 Nov 2023 07:05:59 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r5lzT-0004X8-MN for guix-patches@gnu.org; Wed, 22 Nov 2023 07:05:59 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r5lzW-0003Jb-Sr for guix-patches@gnu.org; Wed, 22 Nov 2023 07:06:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67366] [PATCH] doc: Recommend building in =?utf-8?b?4oCYZ3Vp?= =?utf-8?b?eA==?= shell =?utf-8?b?LUNQV+KAmS4=?= Resent-From: Ludovic =?utf-8?q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 22 Nov 2023 12:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 67366 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 67366@debbugs.gnu.org Cc: 66537@debbugs.gnu.org, Ludovic =?utf-8?q?Court=C3=A8s?= , Hiep Pham X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.170065476112729 (code B ref -1); Wed, 22 Nov 2023 12:06:02 +0000 Received: (at submit) by debbugs.gnu.org; 22 Nov 2023 12:06:01 +0000 Received: from localhost ([127.0.0.1]:58147 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r5lzV-0003JA-B9 for submit@debbugs.gnu.org; Wed, 22 Nov 2023 07:06:01 -0500 Received: from lists.gnu.org ([2001:470:142::17]:41254) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r5lzQ-0003Ig-Vw for submit@debbugs.gnu.org; Wed, 22 Nov 2023 07:05:57 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r5lzF-000471-NX for guix-patches@gnu.org; Wed, 22 Nov 2023 07:05:46 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r5lzE-0004TZ-GT; Wed, 22 Nov 2023 07:05:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:References:In-Reply-To:Date:Subject:To: From; bh=czKCYvOqMTzm3PC6OptN3+PLDT6xD3WJNkykw8DMzvM=; b=eibphsjO6sP12MqJHN9G SrT12pNS2N44r4CTQlOVJd7fK2Fo6mTFPlKRqSyYoDOzFHDP8p7XyU5axDTknCu9dpC+60rYCQM0a oubAEUkMytz4HVcz5cBAVBRrBCfcESQz7Z+x6JRAfKuKSsxRDomWNFGt+0DaEud+wnsSkk//q7TxX +I6PlS5P6c1sdxq+sxTLfDttnMNAsVgy/oVZOmRqHZzTFrdPOaWxeeUXFJX6U/vkEySqU3prBhiHD pypos/jvaU1Dg02cYjW1mWoilBpqAbdHPaGm72aAu0RLTz4sT+45KVQ8+nVPXKcZQkfGA5KRFu8jO TRlsUBYowAjtDg==; From: Ludovic =?utf-8?q?Court=C3=A8s?= Date: Wed, 22 Nov 2023 13:05:30 +0100 Message-ID: <2d49ea4ddadceb4a3017f1a6032fb2858616cdee.1700654648.git.ludo@gnu.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <6e30603f-4ae2-4de2-af46-dc2fc2ee6bc9@proton.me> References: <6e30603f-4ae2-4de2-af46-dc2fc2ee6bc9@proton.me> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches This was prompted by , 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 . * doc/contributing.texi (Building from Git): Recommend ‘guix shell -CPW’. Change-Id: I7694b482d982917fef6ec404f68ddacea761f482 --- doc/contributing.texi | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) base-commit: d987b75618a62c95c030e7ca53e0972e700c4f06 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