From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id ALjmGnVhWGFV+wAAgWs5BA (envelope-from ) for ; Sat, 02 Oct 2021 15:41:09 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 4OdsFnVhWGHfDgAAbx9fmQ (envelope-from ) for ; Sat, 02 Oct 2021 13:41:09 +0000 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 335C42D447 for ; Sat, 2 Oct 2021 15:41:09 +0200 (CEST) Received: from localhost ([::1]:46408 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mWfGG-0003e1-Av for larch@yhetil.org; Sat, 02 Oct 2021 09:41:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40352) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mWfGB-0003bN-0j for guix-patches@gnu.org; Sat, 02 Oct 2021 09:41:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46761) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mWfGA-0006d5-QE for guix-patches@gnu.org; Sat, 02 Oct 2021 09:41:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mWfGA-0002eg-HL for guix-patches@gnu.org; Sat, 02 Oct 2021 09:41:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50960] [PATCH 00/10] Add 'guix shell' to subsume 'guix environment' Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 02 Oct 2021 13:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50960 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: "pelzflorian (Florian Pelz)" Cc: 50960@debbugs.gnu.org Received: via spool by 50960-submit@debbugs.gnu.org id=B50960.163318201110120 (code B ref 50960); Sat, 02 Oct 2021 13:41:02 +0000 Received: (at 50960) by debbugs.gnu.org; 2 Oct 2021 13:40:11 +0000 Received: from localhost ([127.0.0.1]:58303 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mWfFK-0002dA-MH for submit@debbugs.gnu.org; Sat, 02 Oct 2021 09:40:10 -0400 Received: from eggs.gnu.org ([209.51.188.92]:35112) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mWfFI-0002cp-5o for 50960@debbugs.gnu.org; Sat, 02 Oct 2021 09:40:08 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:53084) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mWfFC-0005rv-DR; Sat, 02 Oct 2021 09:40:02 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=36464 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mWfFC-0007KD-46; Sat, 02 Oct 2021 09:40:02 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20211002102116.27726-1-ludo@gnu.org> <20211002115958.rzupz4afq7elehq4@pelzflorian.localdomain> Date: Sat, 02 Oct 2021 15:40:00 +0200 In-Reply-To: <20211002115958.rzupz4afq7elehq4@pelzflorian.localdomain> (pelzflorian@pelzflorian.de's message of "Sat, 2 Oct 2021 14:10:25 +0200") Message-ID: <87sfxjzgsv.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1633182069; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=rGqpVKBr1v+nWrCn2Y724v06SfGRTdug5FC+A0udElw=; b=YMSxMmYyHe/rsN5tpIm2XRJ408s+CDKRy3COGpZ1n5s09HJBzyOuUHmgedNNdBcpSX1wcR Mlj5Pnxb9/q50e37TfEc9oX+eGGQkE7tfgEAH4Nz7lBQeK21daSc6l77BXqvyzi5G++IC9 hxwBWhYqPkp1pXgS2TcDS5zPK5JqqjUa6i89MWwKooMFp7TnQH50WtUmypjBs1cAXunv9d KyYQ712vU9sgAV+b4RCRYmkPGyF/8f32xbYCNVcNSb41XOYgZzYDIzvS4XaLE2/be4XM2P Mj/lCPYnuv2mWbefp1wpSIGhRwojgFpUvFiRL9elLu3ZNFl65wVEhzHZKY0lHw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1633182069; a=rsa-sha256; cv=none; b=CBVhE6j7jg/IOgNmxl8D2wGlOTggCzD8FAcWJdvH6bLJnYFLr4hgr/cdTNeGoJ9V5CLBIW Q3qiOu/NwbWYmDdg32xa6YDgHZLfMdGEra6/w5mqcX8f1fbIqZpCT7bF7K4BvYFQ71Sigj /dM2OqgakamAnDu86SdqWgL7Pd83alCStRFklWG7/au/WcMRw4LfS5s9Tx3JXVaWDlO8/X 4JKIfZOgaKEuWa8+YeuVbXE9piPLk2OUG5YL13r5+Ea7KppLUZaDZldvi8FvshcW+4lyxs 0CoXAWQHBkJ6G4WUqyBuDYfpkQs8hcc7vsNXW5x5cR54C0lX1S/WXRU1gk5hxA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -3.70 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 335C42D447 X-Spam-Score: -3.70 X-Migadu-Scanner: scn1.migadu.com X-TUID: AsmmwEaOs3aQ Hi, "pelzflorian (Florian Pelz)" skribis: > On Sat, Oct 02, 2021 at 12:21:16PM +0200, Ludovic Court=C3=A8s wrote: >> 2. =E2=80=98guix shell=E2=80=99, without arguments, loads =E2=80=98gui= x.scm=E2=80=99 or =E2=80=98manifest.scm=E2=80=99 >> from the current directory or one of its ancestors. > > This however is concerning. Users will not expect guix to execute > arbitrary code. Maybe print a suggestion to maybe --file the file > instead. > > Maybe I should not have such expectations but IMHO Guix is not like > `haunt build`, which is expected to load haunt.scm. I think it=E2=80=99s fine as long as, as in the case of =E2=80=98haunt buil= d=E2=80=99 or =E2=80=98make=E2=80=99 or =E2=80=98git=E2=80=99, it=E2=80=99s properly documented. Also, =E2=80= =98guix shell=E2=80=99 unconditionally writes a message. Ludo=E2=80=99.