From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id K69GFb3Vol+SEQAA0tVLHw (envelope-from ) for ; Wed, 04 Nov 2020 16:24:29 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id QFx7EL3Vol8fAwAAB5/wlQ (envelope-from ) for ; Wed, 04 Nov 2020 16:24:29 +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 D2F2B9402C8 for ; Wed, 4 Nov 2020 16:24:28 +0000 (UTC) Received: from localhost ([::1]:44668 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kaLaF-0001hN-50 for larch@yhetil.org; Wed, 04 Nov 2020 11:24:27 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:43442) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kaLIR-0006kL-7x for bug-guix@gnu.org; Wed, 04 Nov 2020 11:06:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:38803) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kaLIQ-00068X-Uv for bug-guix@gnu.org; Wed, 04 Nov 2020 11:06:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kaLIQ-0006FP-QA for bug-guix@gnu.org; Wed, 04 Nov 2020 11:06:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#38529: Make --pure the default for `guix environment'? Resent-From: Christopher Lemmer Webber Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 04 Nov 2020 16:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38529 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Taylan Kammer X-Debbugs-Original-Cc: bug-guix@gnu.org, Ludovic =?UTF-8?Q?Court=C3=A8s?= , Pierre Neidhardt , "Thompson, David" , 38529@debbugs.gnu.org Received: via spool by 38529-submit@debbugs.gnu.org id=B38529.160450595423976 (code B ref 38529); Wed, 04 Nov 2020 16:06:02 +0000 Received: (at 38529) by debbugs.gnu.org; 4 Nov 2020 16:05:54 +0000 Received: from localhost ([127.0.0.1]:50345 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kaLII-0006Ee-1d for submit@debbugs.gnu.org; Wed, 04 Nov 2020 11:05:54 -0500 Received: from dustycloud.org ([50.116.34.160]:38460) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kaLIF-0006EW-Vp for 38529@debbugs.gnu.org; Wed, 04 Nov 2020 11:05:52 -0500 Received: from twig (localhost [127.0.0.1]) by dustycloud.org (Postfix) with ESMTPS id 89EFE265C8; Wed, 4 Nov 2020 11:05:27 -0500 (EST) References: <87eexeu8mo.fsf@ambrevar.xyz> <87o8wgksnp.fsf@gnu.org> <4419f87c-c3ee-84c8-0a35-366b5978b653@gmail.com> User-agent: mu4e 1.4.13; emacs 27.1 From: Christopher Lemmer Webber In-reply-to: <4419f87c-c3ee-84c8-0a35-366b5978b653@gmail.com> Date: Wed, 04 Nov 2020 11:05:01 -0500 Message-ID: <87sg9p6rbm.fsf@dustycloud.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mail@ambrevar.xyz, 38529@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: 1.49 X-TUID: MKY8L3AGp0ef Taylan Kammer writes: > On 10.12.2019 18:16, Ludovic Court=C3=A8s wrote: >> Hello! >> "Thompson, David" skribis: >>=20 >>> I have long thought that --ad-hoc should be implied, as that is the >>> mode I use 99% of the time, but I disagree that --pure should be the >>> default. >> I very much agree with that. I don=E2=80=99t think =E2=80=98--pure=E2= =80=99 should be the >> default, because there are valid use cases for that. >> As for =E2=80=98--ad-hoc=E2=80=99: making it the default is technically = easy. The >> difficulty is to come up with a nice transition/deprecation mechanism so >> that we don=E2=80=99t break everyone=E2=80=99s script overnight. >> Ideas on how to achieve it are welcome! >> Thanks, >> Ludo=E2=80=99. >>=20 > > I suppose the straightforward way of doing such a transition would be: > > - In the next release, add --inputs-of and make the use of 'guix > environment' with neither switch emit a warning saying you should > use the new switch to explicitly enable it because the default will > change. > > - Later, change the default behavior and deprecate --ad-hoc as it > becomes a no-op. > > - (Optional) In some future release, remove --ad-hoc. > > > Taylan That sounds good to me. And could we make "env" a shortcut for "environment" anyway? My fingers are tired. ;)