From unknown Sat Jun 14 03:49:10 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#73294 <73294@debbugs.gnu.org> To: bug#73294 <73294@debbugs.gnu.org> Subject: Status: "guix shell -- anything" does not look for manifests Reply-To: bug#73294 <73294@debbugs.gnu.org> Date: Sat, 14 Jun 2025 10:49:10 +0000 retitle 73294 "guix shell -- anything" does not look for manifests reassign 73294 guix submitter 73294 lgcoelho@disroot.org severity 73294 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 16 08:41:17 2024 Received: (at submit) by debbugs.gnu.org; 16 Sep 2024 12:41:17 +0000 Received: from localhost ([127.0.0.1]:51261 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sqB2b-0005We-91 for submit@debbugs.gnu.org; Mon, 16 Sep 2024 08:41:17 -0400 Received: from lists.gnu.org ([209.51.188.17]:38882) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sqB2Y-0005WV-Nd for submit@debbugs.gnu.org; Mon, 16 Sep 2024 08:41:15 -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 1sqB2J-00082P-50 for bug-guix@gnu.org; Mon, 16 Sep 2024 08:40:59 -0400 Received: from layka.disroot.org ([178.21.23.139]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sqB1z-0002ve-FK for bug-guix@gnu.org; Mon, 16 Sep 2024 08:40:56 -0400 Received: from mail01.disroot.lan (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id F247223CC8 for ; Mon, 16 Sep 2024 14:40:23 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id XVEOSACdds07 for ; Mon, 16 Sep 2024 14:40:23 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1726490423; bh=JzpNvZBcr6r9+y8fwFSSXKwv88PaiNMfjn71gy9N0iQ=; h=Date:From:To:Subject; b=bXwNAQ9xN6U1c0M4h2dhk2dxwlBYF0eQ6phQdnJ818+YW45yvYfW0gEMgGbgkwPxz cWrrkVj6k1AR+qm8shLCuZef9Obce+0z5TioSAghuKPx7iixQWCeplDLnw0/nc9TQk +4W8zA98TjOZaWfmTj15WCL5fvQMgIZwUqk1c/j86NcgZXLB15KBExNOztZGbOjrIs pc1niUnNmF5Y9BHOfg77SCbvvPIh5r7m9HykAJQq5z7G+yLSy/JOoBTxVsHCTR+u+j ARuXJ6Y/lgSY5QTj83agBODpSOQrB8gcr4Qrr1KTbBkr0GetXQ3yNhK6CKXLnSBIYq 7OJk44PyNwZCw== MIME-Version: 1.0 Date: Mon, 16 Sep 2024 14:40:23 +0200 From: lgcoelho@disroot.org To: bug-guix@gnu.org Subject: "guix shell -- anything" does not look for manifests Message-ID: <86b8b6bd0f2a04c6febb78b5c91f7676@disroot.org> X-Sender: lgcoelho@disroot.org Content-Type: multipart/alternative; boundary="=_4d2d99b8ca3671f55a785f845fa24282" Received-SPF: pass client-ip=178.21.23.139; envelope-from=lgcoelho@disroot.org; helo=layka.disroot.org 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, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, T_SPF_TEMPERROR=0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) --=_4d2d99b8ca3671f55a785f845fa24282 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed Hello, Currently, if you have an authorized manifest available and want to run some command (for example htop) provided by the manifest, you need to --8<---------------cut here---------------start------------->8--- $ guix shell $ htop --8<---------------cut here---------------end--------------->8--- as supplying a command for guix shell makes it to not look for manifests, and instead simply create a empty environment. --8<---------------cut here---------------start------------->8--- $ guix shell -- htop guix shell: warning: no packages specified; creating an empty environment guix shell: error: htop: command not found --8<---------------cut here---------------end--------------->8--- Which doesn't seems a desirable behavior to me. Could we fix it? Thanks in advance, Luis --=_4d2d99b8ca3671f55a785f845fa24282 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=UTF-8
Hello,

Currently, if you have an authorized manifest available and want to r= un some command (for example htop) provided by the manifest, you need to
--8<---=
------------cut here---------------start------------->8---
$ guix shell
$ htop

--8<---------------cut here---------= ------end--------------->8---
as supplying a command for guix shell= makes it to not look for manifests, and instead simply create a empty envi= ronment.

--8<---=
------------cut here---------------start------------->8---

$ guix shell -- htop
guix shell: warning: no packages specified;= creating an empty environment
guix shell: error: htop: command not fo= und

--8<---=
------------cut here---------------end--------------->8---

Wh= ich doesn't seems a desirable behavior to me. Could we fix it?
Thanks in =
advance,
Luis
--=_4d2d99b8ca3671f55a785f845fa24282-- From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 30 17:05:10 2024 Received: (at 73294) by debbugs.gnu.org; 30 Sep 2024 21:05:10 +0000 Received: from localhost ([127.0.0.1]:47134 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1svNZu-0006cn-25 for submit@debbugs.gnu.org; Mon, 30 Sep 2024 17:05:10 -0400 Received: from eggs.gnu.org ([209.51.188.92]:59064) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1svNZq-0006bo-VR for 73294@debbugs.gnu.org; Mon, 30 Sep 2024 17:05:07 -0400 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 1svNZD-0003rq-7h; Mon, 30 Sep 2024 17:04:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=ym7Jqtl7e8JiIB3rW7q3tUZPk9f+vWj36m/URSNz5UA=; b=JaZIxPI5IC+vCrx7w9WQ mMxE9hr5MWMKO1E2C7ctSK+HoFcxni8W01kWnBX83lRemkBVlvSLx37V4tQBmcLutXptZp1HhRguq mn0ik2x4c98AcghZJd12TTvF1AUtISMw26pn77NKh6PyTod45YlowP2GNjhSg2MCSBe/9egrpZYao 92aFpmf+2PYlXMffBods1kWEyDeWG01XlHooa/kYjVWZyi++bHuGoUHyUcLEYclpZEDNZfKNscwTM bKwAAL6NibKgLCEP83dsQq5XGOomcFVlbH4Odhr0hhClkC9k78d65cqwPfOV+vcn6Tzt94ajyL0gj gTzTvKDmr/hoBQ==; From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: lgcoelho@disroot.org Subject: Re: bug#73294: "guix shell -- anything" does not look for manifests In-Reply-To: <86b8b6bd0f2a04c6febb78b5c91f7676@disroot.org> (lgcoelho@disroot.org's message of "Mon, 16 Sep 2024 14:40:23 +0200") References: <86b8b6bd0f2a04c6febb78b5c91f7676@disroot.org> Date: Mon, 30 Sep 2024 23:04:23 +0200 Message-ID: <875xqc4zvs.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 73294 Cc: 73294@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, lgcoelho@disroot.org skribis: > Currently, if you have an authorized manifest available and want to run=20 > some command (for example htop) provided by the manifest, you need to > > > $ guix shell > $ htop > > as supplying a command for guix shell makes it to not look for=20 > manifests, and instead simply create a empty environment. > > > $ guix shell -- htop > guix shell: warning: no packages specified; creating an empty=20 > environment > guix shell: error: htop: command not found > > Which doesn't seems a desirable behavior to me. Could we fix it? This is the documented behavior: =E2=80=98manifest.scm=E2=80=99 and =E2=80= =98guix.scm=E2=80=99 are read only for interactive use, meaning without =E2=80=98--=E2=80=99: https://guix.gnu.org/manual/devel/en/html_node/Invoking-guix-shell.html The rationale for it is that non-interactive uses of =E2=80=98guix shell=E2= =80=99 would always be self-contained. This was arguably a very conservative choice but I=E2=80=99m not sure we can change it at this stage. Thoughts? Ludo=E2=80=99.