From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id MEPcN/d3ol9HIgAA0tVLHw (envelope-from ) for ; Wed, 04 Nov 2020 09:44:23 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id SPPWM/d3ol+NbwAA1q6Kng (envelope-from ) for ; Wed, 04 Nov 2020 09:44:23 +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 6EDBD9404CE for ; Wed, 4 Nov 2020 09:44:22 +0000 (UTC) Received: from localhost ([::1]:45588 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kaFL2-0004Ee-7d for larch@yhetil.org; Wed, 04 Nov 2020 04:44:20 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:58660) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kaFKm-0004Di-F3 for bug-guix@gnu.org; Wed, 04 Nov 2020 04:44:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:36025) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kaFKk-00052h-IQ for bug-guix@gnu.org; Wed, 04 Nov 2020 04:44:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kaFKk-0008Fd-GH for bug-guix@gnu.org; Wed, 04 Nov 2020 04:44:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#38529: Make --pure the default for `guix environment'? Resent-From: Taylan Kammer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 04 Nov 2020 09:44: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: Ludovic =?UTF-8?Q?Court=C3=A8s?= , "Thompson, David" Received: via spool by 38529-submit@debbugs.gnu.org id=B38529.160448299831653 (code B ref 38529); Wed, 04 Nov 2020 09:44:02 +0000 Received: (at 38529) by debbugs.gnu.org; 4 Nov 2020 09:43:18 +0000 Received: from localhost ([127.0.0.1]:47569 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kaFK2-0008ET-EX for submit@debbugs.gnu.org; Wed, 04 Nov 2020 04:43:18 -0500 Received: from mail-ej1-f50.google.com ([209.85.218.50]:35228) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kaFK0-0008EF-Bd for 38529@debbugs.gnu.org; Wed, 04 Nov 2020 04:43:16 -0500 Received: by mail-ej1-f50.google.com with SMTP id p5so28853548ejj.2 for <38529@debbugs.gnu.org>; Wed, 04 Nov 2020 01:43:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=ets1ftUjwJQIZ1Kh6UEMqhfsIDj4KgVvSAF65f8HNkg=; b=A9nmjexKdsB5TLnupGVBcgAnkn+MNr/fuuwHVaKss9T54DpWr2yLdHBGj/wELpQh4s f/1Btw1pvwPwDjJ6hI8qS6UUJtNHpRqQ1rTmzH6ycFK64bm5ogpbnu/UBRmO/NMDQ5c+ 6gltrbJ96br5bPpBFxBJQbK70xdNjF2CZh6z1xC6RrAD/DJuRMRQtm3+5e0cTGZwaz+W L660qCa1okXuAsr5YjhSJOMg5COsF+zBMNsmsaMldvuvsfPLoz3FczrJ3We0/4EMfgKB xmZR3/mLgzWLgi7D6QipaAfzImvbls+QkVBDfD8aMRXBzqPDhMGHN9xiIye2TPPnml8f 03FQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=ets1ftUjwJQIZ1Kh6UEMqhfsIDj4KgVvSAF65f8HNkg=; b=h0E1JmWf2QGX5MnRcu3eTiBDq1FOGayQIg7LXbHL1cXZl6ojLH40xOiXY+KR7qMnBk LopfEUDMTgB4jn1u3KExCUcMxhk35MFiUSbCW6gIQoaeLaPIE0hFNRzB0CFiY8j+m3h3 NnkJgmhAHLUwy8HnJOOAniKy/grRdlAUP/45+QWJZiBYYz12V7W6xYdFf0X7fwZooHJW d0+cR2LVQglFxQCNXJk//0nbfSM4QCbW9ME8ss0CW7hSNdzcWbKy9FJz2s1e2k+BdkXA hlvQsTNndbaSotqHmJ5cY55DV3miT7pyEknLLDOCyQ2guRuooppbMRuzNM2xB6/rsiiw oEWw== X-Gm-Message-State: AOAM533y6LjT0dg93eJ48mM2c5bc5NhD3Y/86/AXaZspS8l5fQaE94/b ZpSqjMr3uC1XV8ZJLc3KaLxlYLAjtAZwrnKy X-Google-Smtp-Source: ABdhPJyAtgZhnG/jeRdzU2PPSQJ6eva2pnVE/b8upbqSzKYCceqJpVRTaYcdONrCgAWb1qTg4hNyHg== X-Received: by 2002:a17:906:c407:: with SMTP id u7mr11781471ejz.261.1604482990160; Wed, 04 Nov 2020 01:43:10 -0800 (PST) Received: from ?IPv6:2a02:908:c71:ba60:9468:134c:636c:e8f2? ([2a02:908:c71:ba60:9468:134c:636c:e8f2]) by smtp.gmail.com with ESMTPSA id b1sm764421edw.27.2020.11.04.01.43.09 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 04 Nov 2020 01:43:09 -0800 (PST) References: <87eexeu8mo.fsf@ambrevar.xyz> <87o8wgksnp.fsf@gnu.org> From: Taylan Kammer Message-ID: <4419f87c-c3ee-84c8-0a35-366b5978b653@gmail.com> Date: Wed, 4 Nov 2020 10:43:06 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0 MIME-Version: 1.0 In-Reply-To: <87o8wgksnp.fsf@gnu.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit 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: Pierre Neidhardt , 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=fail (headers rsa verify failed) header.d=gmail.com header.s=20161025 header.b=A9nmjexK; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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: 2.59 X-TUID: /aaLBLAXgmJ9 On 10.12.2019 18:16, Ludovic Courtès wrote: > 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’t think ‘--pure’ should be the > default, because there are valid use cases for that. > > As for ‘--ad-hoc’: making it the default is technically easy. The > difficulty is to come up with a nice transition/deprecation mechanism so > that we don’t break everyone’s script overnight. > > Ideas on how to achieve it are welcome! > > Thanks, > Ludo’. > 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