From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 8O0uAohSO2eDYQEAqHPOHw:P1 (envelope-from ) for ; Mon, 18 Nov 2024 14:43:20 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 8O0uAohSO2eDYQEAqHPOHw (envelope-from ) for ; Mon, 18 Nov 2024 15:43:20 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=GUWxFEIw; dkim=fail ("headers rsa verify failed") header.d=pelzflorian.de header.s=key2 header.b=F7VIhS7E; 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"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1731940999; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=8W51TJ7PsrrxnGWiw24JL1POnNPzcvLTIMLmOBedDM4=; b=mROkMDttcFWYoYBIxn5nN4WNlY+vt4A7UQCL9t2pQupWrjasbjOm/gBMst/T39i+lJd9aZ S/LY/z4/n3UJSZ3brzJwSih7sec5It2o1PQyar3sGYFkWY++Bg+PJ0KyJ0S21hYRrrV4pb 1DNg9khxroi1Ap1JgbYTr+5PJirHAcUGHhsE0nuHGwa2/24E+Lb9HIwehCNzIgxIU9q5oa TiGOSCtTUOiOtsHgBkpTdb4jl8wDLOhCLc7iTNC4sc8y4SIRLV+qbbleP66Wh/JTiaIuRE Q9CG6av9st2PA6g2rRYgsFcBqk05BFcnp87kd5EuH/wLzsugW3RzSQkzG64xkA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1731940999; a=rsa-sha256; cv=none; b=jzTNOId1kalc/wZIcgvwYUsdqJw83slTklHzxog5z3yOv3bwJj5NII3r+o6enNX8xozPH/ +b1sEjGkLIy3aWAej1VYHjqwAsXzY/JivWT83+xBwLOzmzYcLY3q+9nDOP0UjOMqcwXU50 cZZFPS9We+HmIodSc2O30wKLYFF2BelRCbG6VfSXp/zT15vVwosdpJG43QFxQDHChio5nJ qRz6lQ27wE+PFsBgRnVVtM7IMv/WHpFPsv3McKYUDIcyQBlcDKJ7N9Zo6epu52zWT4cl4i tflP9BDl9KuH08lVmmr9CZb+eYH6H37k/mpsksEPheKfs1ouQxY6cFkO5v8KHw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=GUWxFEIw; dkim=fail ("headers rsa verify failed") header.d=pelzflorian.de header.s=key2 header.b=F7VIhS7E; 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"; dmarc=none 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 206727B989 for ; Mon, 18 Nov 2024 15:43:19 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tD2y4-0008Gf-Ha; Mon, 18 Nov 2024 09:43:08 -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 1tD2xz-0008GO-Rd for guix-patches@gnu.org; Mon, 18 Nov 2024 09:43:03 -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 1tD2xy-0006Pf-Sc; Mon, 18 Nov 2024 09:43:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:Subject; bh=8W51TJ7PsrrxnGWiw24JL1POnNPzcvLTIMLmOBedDM4=; b=GUWxFEIwHZraxJ7UiejCN1rMlxZV22ud4uHyiShFWuDX5fP+BJakRkBt3hpbKPg70YyWJGafaQckaekUqHYzxK68TxsRtdpHXkr3X9p6fSTJnQWtpvLBp0Gs8ZxTlBeZOy72azxYDwKNRHR6pAxS5W1sGFWX6Vp8oTCsvnjgEzH7DOBAK5bz3SaYLfFlexnvDjGlqjwdRV1nMc0K2pGE99aVcqHrQeY0BPrxXP80wbP6uhuRnQAH5gOqZU5y84NUysSF4ilq+Wg1/nhrGIUxMGzX2FhCcw8RSmF/sPv0eo8mgJDhWdnLTEGuijbeNBo42wvU4xBfcUeKIl7XoWtb3g==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tD2xy-0005bh-7D; Mon, 18 Nov 2024 09:43:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74418] [PATCH] doc: Explain =?UTF-8?Q?=E2=80=98--=E2=80=99?= syntax of =?UTF-8?Q?=E2=80=98guix_?= =?UTF-8?Q?shell=E2=80=99?= before giving examples. Resent-From: Florian Pelz Original-Sender: "Debbugs-submit" Resent-CC: ludo@gnu.org, maxim.cournoyer@gmail.com, guix-patches@gnu.org Resent-Date: Mon, 18 Nov 2024 14:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 74418 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74418@debbugs.gnu.org Cc: Florian Pelz , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Maxim Cournoyer X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , Maxim Cournoyer Received: via spool by submit@debbugs.gnu.org id=B.173194098021543 (code B ref -1); Mon, 18 Nov 2024 14:43:01 +0000 Received: (at submit) by debbugs.gnu.org; 18 Nov 2024 14:43:00 +0000 Received: from localhost ([127.0.0.1]:60716 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tD2xw-0005bM-5f for submit@debbugs.gnu.org; Mon, 18 Nov 2024 09:43:00 -0500 Received: from lists.gnu.org ([209.51.188.17]:57432) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tD2xt-0005bE-UT for submit@debbugs.gnu.org; Mon, 18 Nov 2024 09:42:58 -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 1tD2xt-0008Cy-MI for guix-patches@gnu.org; Mon, 18 Nov 2024 09:42:57 -0500 Received: from relay.yourmailgateway.de ([188.68.63.174]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tD2xr-0006PA-Ae for guix-patches@gnu.org; Mon, 18 Nov 2024 09:42:57 -0500 Received: from mors-relay8204.netcup.net (localhost [127.0.0.1]) by mors-relay8204.netcup.net (Postfix) with ESMTPS id 4XsVj53TVJz8cHg for ; Mon, 18 Nov 2024 14:42:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=pelzflorian.de; s=key2; t=1731940969; bh=jDNOzXYpg2pAHVbqe+uyGmJ9Irt9xjMxqUWnsa2UUKI=; h=From:To:Cc:Subject:Date:From; b=F7VIhS7EPMHqQojEaby+fOzy8fKbWQuvHYMwI2o5uk/uAC3hcxTiAZoCepYwUkBxV Vf71KW7hOOqC1YbSboEs529ZFMDifGRsY0osM4EjNL6/lyJp5RWXat1qVaojRsiZTC SJVOXBYs1mY+uqtSPYzofg2y8tgzFcygdQrDbxJTmS7jlVMpp2xQ8Yt5QCCLCuSZv8 qPBVtu6VuBVEwQzFwAPWYB5V6peCkcz4baI2rZsOhrXFqeQcYWHrsypDwlKNattCf+ T3cPsozQ1bJfQdmMY6s/j9VtuhA0V4f/dP7iuaYjb/kesWsrzd0V4OLVfy6tLYnyFj AL327uvcdqLBA== Received: from policy01-mors.netcup.net (unknown [46.38.225.35]) by mors-relay8204.netcup.net (Postfix) with ESMTPS id 4XsVj52hv5z8cHS for ; Mon, 18 Nov 2024 14:42:49 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at policy01-mors.netcup.net Received: from mxe217.netcup.net (unknown [10.243.12.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by policy01-mors.netcup.net (Postfix) with ESMTPS id 4XsVj46ZqKz8tXW for ; Mon, 18 Nov 2024 15:42:48 +0100 (CET) Received: from florianhp.fritz.box (ipb218687b.dynamic.kabel-deutschland.de [178.24.104.123]) by mxe217.netcup.net (Postfix) with ESMTPSA id D43F482FF1; Mon, 18 Nov 2024 15:42:42 +0100 (CET) From: Florian Pelz Date: Mon, 18 Nov 2024 15:38:57 +0100 Message-ID: <24a645c2c44f8b98d6351c8d8c4839feb46b012e.1731940595.git.pelzflorian@pelzflorian.de> X-Mailer: git-send-email 2.46.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: D43F482FF1 X-Rspamd-Server: rspamd-worker-8404 X-NC-CID: /83bhTnfVS9x+D/xuvkyqZGb+3FQS2jjU+QjAROmj7iRUTcNE9n5Qbhp Received-SPF: pass client-ip=188.68.63.174; envelope-from=pelzflorian@pelzflorian.de; helo=relay.yourmailgateway.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -6.30 X-Spam-Score: -6.30 X-Migadu-Queue-Id: 206727B989 X-Migadu-Scanner: mx13.migadu.com X-TUID: mZSHeplfTF+V This paragraph is present in the ‘guix environment’ docs. I presume it clarifies ‘guix shell’ for newcomers as well. * doc/guix.texi (Invoking guix shell): Take over an introductory paragraph from ‘guix environment’ and use it for ‘guix shell’. Change-Id: I06280516ad3436260114b074c5f325e6984e9c76 --- doc/guix.texi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/guix.texi b/doc/guix.texi index ba4bd2cc79..f71f0b6561 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -5933,6 +5933,10 @@ Invoking guix shell guix shell [@var{options}] [@var{package}@dots{}] @end example +Sometimes an interactive shell session is not desired. An arbitrary +command may be invoked by placing the @code{--} token to separate the +command from the rest of the arguments. + The following example creates an environment containing Python and NumPy, building or downloading any missing package, and runs the @command{python3} command in that environment: base-commit: 23cbbe6860782c5d4a0ba599ea1cda0642e91661 -- 2.46.0