X-Loop: help-debbugs@HIDDEN Subject: bug#73294: "guix shell -- anything" does not look for manifests Resent-From: lgcoelho@HIDDEN Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guix@HIDDEN Resent-Date: Mon, 16 Sep 2024 12:42:02 +0000 Resent-Message-ID: <handler.73294.B.172649047721248 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 73294 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 73294 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-guix@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.172649047721248 (code B ref -1); Mon, 16 Sep 2024 12:42:02 +0000 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 <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sqB2b-0005We-91 for submit <at> 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 <lgcoelho@HIDDEN>) id 1sqB2Y-0005WV-Nd for submit <at> 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 <lgcoelho@HIDDEN>) id 1sqB2J-00082P-50 for bug-guix@HIDDEN; 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 <lgcoelho@HIDDEN>) id 1sqB1z-0002ve-FK for bug-guix@HIDDEN; 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 <bug-guix@HIDDEN>; 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 <bug-guix@HIDDEN>; 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@HIDDEN Message-ID: <86b8b6bd0f2a04c6febb78b5c91f7676@HIDDEN> X-Sender: lgcoelho@HIDDEN Content-Type: multipart/alternative; boundary="=_4d2d99b8ca3671f55a785f845fa24282" Received-SPF: pass client-ip=178.21.23.139; envelope-from=lgcoelho@HIDDEN; 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-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> 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 <html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; charset= =3DUTF-8" /></head><body style=3D'font-size: 10pt; font-family: Verdana,Gen= eva,sans-serif'> <pre style=3D"color: #000000;" data-darkreader-inline-color=3D"">Hello, <br />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</p= re> <pre style=3D"color: #000000;" data-darkreader-inline-color=3D"">--8<---= ------------cut here---------------start------------->8---<br /> $ guix shell<br />$ htop<br /><br />--8<---------------cut here---------= ------end--------------->8---<br />as supplying a command for guix shell= makes it to not look for manifests, and instead simply create a empty envi= ronment.<br /><br /></pre> <pre style=3D"color: #000000;" data-darkreader-inline-color=3D"">--8<---= ------------cut here---------------start------------->8--- <br />$ guix shell -- htop<br />guix shell: warning: no packages specified;= creating an empty environment<br />guix shell: error: htop: command not fo= und<br /><br /></pre> <pre style=3D"color: #000000;" data-darkreader-inline-color=3D"">--8<---= ------------cut here---------------end--------------->8---<br /><br />Wh= ich doesn't seems a desirable behavior to me. Could we fix it?</pre> <pre style=3D"color: #000000;" data-darkreader-inline-color=3D"">Thanks in = advance,<br />Luis</pre> </body></html> --=_4d2d99b8ca3671f55a785f845fa24282--
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: lgcoelho@HIDDEN Subject: bug#73294: Acknowledgement ("guix shell -- anything" does not look for manifests) Message-ID: <handler.73294.B.172649047721248.ack <at> debbugs.gnu.org> References: <86b8b6bd0f2a04c6febb78b5c91f7676@HIDDEN> X-Gnu-PR-Message: ack 73294 X-Gnu-PR-Package: guix Reply-To: 73294 <at> debbugs.gnu.org Date: Mon, 16 Sep 2024 12:42:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-guix@HIDDEN If you wish to submit further information on this problem, please send it to 73294 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 73294: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D73294 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#73294: "guix shell -- anything" does not look for manifests Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guix@HIDDEN Resent-Date: Mon, 30 Sep 2024 21:06:02 +0000 Resent-Message-ID: <handler.73294.B73294.172773031025473 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 73294 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: lgcoelho@HIDDEN Cc: 73294 <at> debbugs.gnu.org Received: via spool by 73294-submit <at> debbugs.gnu.org id=B73294.172773031025473 (code B ref 73294); Mon, 30 Sep 2024 21:06:02 +0000 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 <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1svNZu-0006cn-25 for submit <at> 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 <ludo@HIDDEN>) id 1svNZq-0006bo-VR for 73294 <at> 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 <ludo@HIDDEN>) 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: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN> In-Reply-To: <86b8b6bd0f2a04c6febb78b5c91f7676@HIDDEN> (lgcoelho@HIDDEN's message of "Mon, 16 Sep 2024 14:40:23 +0200") References: <86b8b6bd0f2a04c6febb78b5c91f7676@HIDDEN> Date: Mon, 30 Sep 2024 23:04:23 +0200 Message-ID: <875xqc4zvs.fsf@HIDDEN> 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-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Hi, lgcoelho@HIDDEN 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.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.