From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id GOCdHg8y9GHVBAEAgWs5BA (envelope-from ) for ; Fri, 28 Jan 2022 19:12:31 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id AM0bHA8y9GEvUgEA9RJhRA (envelope-from ) for ; Fri, 28 Jan 2022 19:12:31 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 1FED239F5D for ; Fri, 28 Jan 2022 19:12:31 +0100 (CET) Received: from localhost ([::1]:35206 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nDVja-00077Q-87 for larch@yhetil.org; Fri, 28 Jan 2022 13:12:30 -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 Content-Type: text/plain 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1643393551; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=jGrUd+/tdt293cq/x7Rv+8+uy7eS+tn5qzLMCGDMAbM=; b=jmFyKGzlxQBEOh/vMhmIG9rTfX6HMPN0LjMsI+/7b6iEKqPTUP4C9bjq/7Vu28y6ppiXnw 8gUtMRFlda8/9gp3SNrNMVsqAZ8yquLkdFaQJMILZlBYffsjY1ip3Id0LZizSnVM7DGER5 vIXKevLT01RQ3DZ9Mea4WbrSgmOo29SpZ5UJVV5ezvs9/zZIRuisf1wqJc2BSHGW3SX/GX AqjQ/r0aXUMN2lzO7zFPwSYRwarlXsubWsouq5EJqbOn3YYpvhTn02l5k/x59gHhY29iIZ l1lIsm6LVU+Q98AAtoRvnkdOeIm4/QTg949NQhPUlK58nIH8Zh9bG4wWdBNjtw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1643393551; a=rsa-sha256; cv=none; b=P8xitaX09rf0o0K/skyYNSHaRC5+TgFmr8B6PR8v9aKXEyTwBkqF5S5sn/Oa2aDWQxYK96 qnB7+QAFbKdhNJvLZzAzuWL695h+w4cmw6R0qcpwfGQtBBpqw3rffQzSn063r8fOONoTTb 6YoWrTpENtgXjPk8RhWQXGUHeYDjkJNXcRO+VmkQDOxhDVROZDRY8gq6FaFG0HqEnL6vTO 8wSc2HaJjIpfAHlwxAvAW6QibF47xLPc27UcIC1oNPBIodfaoT2Pxe4DBen3zDO41FessE 97b075RKKEMH0NA69VK0wjlbe2QQOQ3pGz1FOO0wkbvP3xhbb6M6LxX5hm8VFg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=fastmail.net header.s=fm2 header.b=cCPhPs2h; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b=CS7TXHGm; dmarc=fail reason="SPF not aligned (relaxed)" header.from=fastmail.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.23 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=fastmail.net header.s=fm2 header.b=cCPhPs2h; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b=CS7TXHGm; dmarc=fail reason="SPF not aligned (relaxed)" header.from=fastmail.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 1FED239F5D X-Spam-Score: -4.23 X-Migadu-Scanner: scn0.migadu.com X-TUID: QWkg+7zE9udi * 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 -- 2.34.0