From patchwork Fri Jan 28 18:10:11 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Hinsen X-Patchwork-Id: 36864 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 BCE5C27BBEA; Fri, 28 Jan 2022 18:12:41 +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,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,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 81C8027BBE9 for ; Fri, 28 Jan 2022 18:12:41 +0000 (GMT) Received: from localhost ([::1]:35206 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nDVjh-00077Q-Ms for patchwork@mira.cbaines.net; Fri, 28 Jan 2022 13:12:38 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41412) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nDViA-0004K1-Rq for guix-patches@gnu.org; Fri, 28 Jan 2022 13:11:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:39323) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nDViA-00064I-FJ for guix-patches@gnu.org; Fri, 28 Jan 2022 13:11:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nDViA-00020N-4T for guix-patches@gnu.org; Fri, 28 Jan 2022 13:11:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53611] [PATCH] doc: Document --profile option to "guix environment" Resent-From: Konrad Hinsen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 28 Jan 2022 18:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 53611 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 53611@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16433934337665 (code B ref -1); Fri, 28 Jan 2022 18:11:01 +0000 Received: (at submit) by debbugs.gnu.org; 28 Jan 2022 18:10:33 +0000 Received: from localhost ([127.0.0.1]:60459 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nDVhh-0001zZ-1J for submit@debbugs.gnu.org; Fri, 28 Jan 2022 13:10:33 -0500 Received: from lists.gnu.org ([209.51.188.17]:60834) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nDVhf-0001zP-GG for submit@debbugs.gnu.org; Fri, 28 Jan 2022 13:10:32 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41302) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nDVhd-0003qR-QC for guix-patches@gnu.org; Fri, 28 Jan 2022 13:10:31 -0500 Received: from new4-smtp.messagingengine.com ([66.111.4.230]:45025) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nDVhY-0005vM-By for guix-patches@gnu.org; Fri, 28 Jan 2022 13:10:29 -0500 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailnew.nyi.internal (Postfix) with ESMTP id AAB8E580572; Fri, 28 Jan 2022 13:10:12 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Fri, 28 Jan 2022 13:10:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.net; h= cc:content-type:date:date:from:from:in-reply-to:message-id :mime-version:reply-to:sender:subject:subject:to:to; s=fm2; bh=j GrUd+/tdt293cq/x7Rv+8+uy7eS+tn5qzLMCGDMAbM=; b=cCPhPs2hYJ0YuIUoz UheOPcr5+ZDHuYCcDZiju799LUpsQVssP1grePpRrBwzhJ/TgfYC1RFhxWnlil6j 1FgTyOvk9DL3nV20EvwrNWqHAFafHnPFsWfjk7ap77E8nufekY02bnOcwChJPN4e W4uxWu2MmbmoIzhqO9YYxAKE8IWicK3KiOc3uRrqnOHez9Xwg+pkL0O5rcw9/wOI JGjS9hEu7JSlpwRPHXWCMMmj3b5GqHaGvb7yjroszoht2ySoa9cYeTIRLwLDQ1t9 ri27m76daGeOCtCW6uzfrCFTK7N0t6xCZEjISQkWMgwSUqa+WS+bvuMdI6DFc5QG +3uMg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:date:from:from :in-reply-to:message-id:mime-version:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=jGrUd+/tdt293cq/x7Rv+8+uy7eS+tn5qzLMCGDMA bM=; b=CS7TXHGmVa38+c9ZnkR+blzJ49h4njPxSikFBv1IOYJu8gMFCRMHf9xc/ ZZWVaImiZrtDVbdaFUhJ9lL15EDHElJSRrGr+KjL3lG9AYwvBB9suXh/vqVVaeGj zyrdiH/ODt9Ye8CZcdxqFdB9XZVdz/uDDHZruinLOxuKQNJPeduPJn+nVVTU65AO NxpqUYZcYUnNHs7/utbxfskO9c2WOPAr85S5EINVL3vAzimoH0TxrVCsgwn9QQZo QvkgPT2zQHPcbK2uXimy7KEOr3i3DnRQv5+oo0QjeBpuOTNo5vzdCthIfITAuwDy w6oMX222P6Y18+HSgQ7TjQ/BNNWVg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrfeehgddutdekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucgovfgvgihtqfhnlhihqddqufhprghmsghothdqkg egvdduqdehudculdeftddtmdenucfjughrpefhvffufffkgggtsehttdertddttddtnecu hfhrohhmpefmohhnrhgrugcujfhinhhsvghnuceokhhonhhrrggurdhhihhnshgvnhesfh grshhtmhgrihhlrdhnvghtqeenucggtffrrghtthgvrhhnpeevfeevuedtiedtteetgfeg hedvudeileekgfehkeehudetveehgeeuteeuveejheenucevlhhushhtvghrufhiiigvpe dtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehkohhnrhgrugdrhhhinhhsvghnsehfrghs thhmrghilhdrnhgvth X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 28 Jan 2022 13:10:12 -0500 (EST) From: Konrad Hinsen Date: Fri, 28 Jan 2022 19:10:11 +0100 Message-ID: MIME-Version: 1.0 Received-SPF: pass client-ip=66.111.4.230; envelope-from=konrad.hinsen@fastmail.net; helo=new4-smtp.messagingengine.com X-Spam_score_int: -8 X-Spam_score: -0.9 X-Spam_bar: / X-Spam_report: (-0.9 / 5.0 requ) DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=unavailable 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" X-getmail-retrieved-from-mailbox: Patches * doc/guix.texi (Invoking guix environment): New paragraph. --- doc/guix.texi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/guix.texi b/doc/guix.texi index 92f515df8f..7243870e81 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -6237,6 +6237,12 @@ interpreted as packages whose dependencies will be added to the environment, the default behavior. Packages appearing after are interpreted as packages that will be added to the environment directly. +@item --profile=@var{profile} +@itemx -p @var{profile} +Create an environment containing the packages installed in @var{profile}. +Use @command{guix package} (@pxref{Invoking guix package}) to create +and manage profiles. + @item --pure Unset existing environment variables when building the new environment, except those specified with @option{--preserve} (see below). This has the effect of