From patchwork Mon Sep 11 16:56:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Efraim Flashner X-Patchwork-Id: 53734 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 B917527BBEA; Mon, 11 Sep 2023 17:58:13 +0100 (BST) 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 autolearn=ham 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 B798C27BBE2 for ; Mon, 11 Sep 2023 17:58:12 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qfkEb-0005JM-C1; Mon, 11 Sep 2023 12:58:01 -0400 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 1qfkEY-0005J4-UX for guix-patches@gnu.org; Mon, 11 Sep 2023 12:57:58 -0400 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 1qfkEY-0005Ei-Mj for guix-patches@gnu.org; Mon, 11 Sep 2023 12:57:58 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qfkEc-0001xv-3u for guix-patches@gnu.org; Mon, 11 Sep 2023 12:58:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#65871] [PATCH] doc: contributing: Clarify generating the pre-inst-env script. Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 11 Sep 2023 16:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 65871 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 65871@debbugs.gnu.org Cc: Efraim Flashner X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16944514687533 (code B ref -1); Mon, 11 Sep 2023 16:58:01 +0000 Received: (at submit) by debbugs.gnu.org; 11 Sep 2023 16:57:48 +0000 Received: from localhost ([127.0.0.1]:54656 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qfkEN-0001xR-IJ for submit@debbugs.gnu.org; Mon, 11 Sep 2023 12:57:47 -0400 Received: from lists.gnu.org ([2001:470:142::17]:53280) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qfkEK-0001xC-Us for submit@debbugs.gnu.org; Mon, 11 Sep 2023 12:57:46 -0400 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 1qfkE7-0005Ew-3O for guix-patches@gnu.org; Mon, 11 Sep 2023 12:57:31 -0400 Received: from mail-pg1-x52e.google.com ([2607:f8b0:4864:20::52e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qfkE2-00055W-2d for guix-patches@gnu.org; Mon, 11 Sep 2023 12:57:30 -0400 Received: by mail-pg1-x52e.google.com with SMTP id 41be03b00d2f7-5779018069fso297267a12.2 for ; Mon, 11 Sep 2023 09:57:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694451444; x=1695056244; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:sender:from:to:cc:subject:date:message-id:reply-to; bh=JkzYcIJG1GQrs6NIziGXsISx+j34SvTuZLRzRd0rcBo=; b=daTY7MsenhS55d+DRankJwHJgLmIWr5nejWPKIW9Y6eXn90+DZoLoCLR7n2wDsABwF lkKSZcC0OiuTEFQI0BpuTc9O8/tP33ZELuBPBQbHgxtVKFT+QIEE6zPbmOQ7tgcjFTKi oMsbtQOxN/gDqJS6m7IIgRp5W2TXEblma1DNAVlKUDG9GoiUqCOMrOu9S5BPDucU9TCs vWOY76JgKbk3RZ1QrGy4vR3+Gx5sntq1Pr8L0ukMN/hOUaKSEkPDaFwP8QXmJCsiDRxA 9G59WMZMtIbJu6HChYMmVRkgYGfY2iFhFHnixX04/K4d/9QxvCQV9/p0aQfdpSL6b0bT Om1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694451444; x=1695056244; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:sender:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=JkzYcIJG1GQrs6NIziGXsISx+j34SvTuZLRzRd0rcBo=; b=KF9W0CbiaLzxkeqglGwRxQ7nX5VwYlmVn3vJu4qJN+dRUlIIj3+Pedpegp+MBNTGQw adRIVrIvyh3FXebMdd0PoNJnYui1Yef8F1zJgqfauXBaqBiS8Y+vdLMbv/XRkLBR7kRc Kh0CAPcA7WBXhGbaE+xaNpUWIva8cE+fNTm6E1RLX6RdLFnXlNlog7OIN6vtt37nZsEC 3xypIYNsKa4wdl5Fb4CjpY6QtzL54xnsF3llrMdq7M13OygdVm9xkUMsixsyWbvvI165 UJRSB9sLS2gEfG69lygqtXVuuk15m7ooWWJAHa0hnMwKcYB1TZgIlZNWv5f2oyAHJWt/ nIzA== X-Gm-Message-State: AOJu0YwKlG8/qJFXB4uyCUcr7VFMmf+6/WgTYNQhZUosB4+cXJ9zc8uc u0yG2v8jVA3igcRxf98a29UMtlnmkFocGg== X-Google-Smtp-Source: AGHT+IH3E4k9Bv2LjpuzY1Rqb1h4R8af99YzpWAHt2ZwV+TQAjK4L7q7D8PaXp0X33WxJTGL0XH9tw== X-Received: by 2002:a05:6a20:8e1f:b0:14b:7d8b:cbaf with SMTP id y31-20020a056a208e1f00b0014b7d8bcbafmr10192161pzj.57.1694451443733; Mon, 11 Sep 2023 09:57:23 -0700 (PDT) Received: from localhost ([115.110.84.132]) by smtp.gmail.com with ESMTPSA id 19-20020aa79113000000b0068c670afe30sm5767062pfh.124.2023.09.11.09.57.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Sep 2023 09:57:23 -0700 (PDT) From: Efraim Flashner Date: Mon, 11 Sep 2023 19:56:12 +0300 Message-ID: X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::52e; envelope-from=efraim.flashner@gmail.com; helo=mail-pg1-x52e.google.com X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action 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 Lack of clarity reported by lrustland on IRC. * doc/contributing.texi (Running Guix Before It Is Installed): Refer to the Building from Git section when giving instructions for generating the pre-inst-env script. --- doc/contributing.texi | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) base-commit: 2eb6df537c36da8bf8e81ff698421f6fb1bfd1ab diff --git a/doc/contributing.texi b/doc/contributing.texi index a0da871f1a..7651a5a2b3 100644 --- a/doc/contributing.texi +++ b/doc/contributing.texi @@ -204,12 +204,11 @@ Running Guix Before It Is Installed run @code{make install}. To do that, you first need to have an environment with all the dependencies available (@pxref{Building from Git}), and then simply prefix each command with @command{./pre-inst-env} -(the @file{pre-inst-env} script lives in the top build tree of Guix; it -is generated by running @command{./bootstrap} followed by -@command{./configure}). As an example, here is how you would build the -@code{hello} package as defined in your working tree (this assumes -@command{guix-daemon} is already running on your system; it's OK if it's -a different version): +(the @file{pre-inst-env} script lives in the top build tree of Guix; +@pxref{Building from Git} to generate it). As an example, here is how you +would build the @code{hello} package as defined in your working tree (this +assumes @command{guix-daemon} is already running on your system; it's OK if +it's a different version): @example $ ./pre-inst-env guix build hello