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 +FFmIv6VoV9KRwAA0tVLHw (envelope-from ) for ; Tue, 03 Nov 2020 17:40:14 +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 iD0/Hv6VoV/YVAAAB5/wlQ (envelope-from ) for ; Tue, 03 Nov 2020 17:40:14 +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 13B1294042B for ; Tue, 3 Nov 2020 17:40:14 +0000 (UTC) Received: from localhost ([::1]:49820 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ka0I0-00044m-Rw for larch@yhetil.org; Tue, 03 Nov 2020 12:40:12 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:34368) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ka0Hr-00043p-MT for bug-guix@gnu.org; Tue, 03 Nov 2020 12:40:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:34785) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ka0Hp-0008V1-La for bug-guix@gnu.org; Tue, 03 Nov 2020 12:40:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ka0Hp-0006zW-Hh for bug-guix@gnu.org; Tue, 03 Nov 2020 12:40:01 -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: Tue, 03 Nov 2020 17:40:01 +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: Ludovic =?UTF-8?Q?Court=C3=A8s?= X-Debbugs-Original-Cc: bug-guix@gnu.org, Pierre Neidhardt , "Thompson, David" , 38529@debbugs.gnu.org Received: via spool by submit@debbugs.gnu.org id=B.160442518526847 (code B ref -1); Tue, 03 Nov 2020 17:40:01 +0000 Received: (at submit) by debbugs.gnu.org; 3 Nov 2020 17:39:45 +0000 Received: from localhost ([127.0.0.1]:46331 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ka0HZ-0006yw-86 for submit@debbugs.gnu.org; Tue, 03 Nov 2020 12:39:45 -0500 Received: from lists.gnu.org ([209.51.188.17]:37668) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ka0HX-0006yp-T8 for submit@debbugs.gnu.org; Tue, 03 Nov 2020 12:39:44 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:34346) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ka0HX-0003f9-LR for bug-guix@gnu.org; Tue, 03 Nov 2020 12:39:43 -0500 Received: from dustycloud.org ([2600:3c02::f03c:91ff:feae:cb51]:41538) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ka0HV-0008S0-Ug; Tue, 03 Nov 2020 12:39:43 -0500 Received: from twig (localhost [127.0.0.1]) by dustycloud.org (Postfix) with ESMTPS id BAF3B26665; Tue, 3 Nov 2020 12:38:59 -0500 (EST) References: <87eexeu8mo.fsf@ambrevar.xyz> <87o8wgksnp.fsf@gnu.org> User-agent: mu4e 1.4.13; emacs 27.1 From: Christopher Lemmer Webber In-reply-to: <87o8wgksnp.fsf@gnu.org> Date: Tue, 03 Nov 2020 12:38:33 -0500 Message-ID: <87y2jiwdba.fsf@dustycloud.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2600:3c02::f03c:91ff:feae:cb51; envelope-from=cwebber@dustycloud.org; helo=dustycloud.org X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -2.3 (--) 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: -0.01 X-TUID: 25YvhZNEsTbm Ludovic Court=C3=A8s writes: > Hello! > > "Thompson, David" skribis: > >> 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 e= asy. 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. It suddenly struck me today that there is an easy way to change the default behavior while supporting the legacy behavior. How about we have a new command, "guix env", what is --ad-hoc by default? Then "guix environment" sticks around as legacy for supporting the old interface. Therefore, "guix env" is doubly short and to the point. :)