From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 19 17:52:59 2020 Received: (at 40612) by debbugs.gnu.org; 19 Apr 2020 21:53:00 +0000 Received: from localhost ([127.0.0.1]:46122 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jQHs3-0001dh-Mg for submit@debbugs.gnu.org; Sun, 19 Apr 2020 17:52:59 -0400 Received: from world.peace.net ([64.112.178.59]:58602) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jQHs1-0001dU-B4 for 40612@debbugs.gnu.org; Sun, 19 Apr 2020 17:52:57 -0400 Received: from mhw by world.peace.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jQHrv-0000qQ-E8; Sun, 19 Apr 2020 17:52:51 -0400 From: Mark H Weaver To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#40612: guix build system --dry-run is broken In-Reply-To: <87y2qs68i9.fsf@gnu.org> References: <87wo6jax7c.fsf@netris.org> <20200414171632.41dae6fd@alma-ubu> <87d088sn6j.fsf@gnu.org> <87ftd1uc11.fsf@netris.org> <87y2qs68i9.fsf@gnu.org> Date: Sun, 19 Apr 2020 17:50:56 -0400 Message-ID: <87mu775elg.fsf@netris.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 40612 Cc: =?utf-8?Q?Bj=C3=B6rn_H=C3=B6fling?= , 40612@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Ludovic, Ludovic Court=C3=A8s wrote: > Mark H Weaver skribis: > >> Yes, of course, I agree that it's not possible to present a build plan >> ahead of time when grafts are enabled. That was the case before these >> changes, and it's the case today. >> >> The only part I don't understand is why you decided that "--dry-run" >> should no longer imply "--no-grafts". Does it work better for other >> people? For me, the "--dry-run" output has become utterly useless >> unless "--no-grafts" is included. > > I explained the pros and cons of having =E2=80=98--dry-run=E2=80=99 no lo= nger implying > =E2=80=98--with-grafts=E2=80=99 here: > > https://lists.gnu.org/archive/html/guix-devel/2020-03/msg00337.html I read that message, but was unable to find any mention of the 'pros' of having '--dry-run' no longer imply '--no-grafts'. Did I miss it? I still don't know what is the argument in favor of that change. > =E2=80=98guix package --dry-run=E2=80=99 overall works well IME, except w= hen a > dependency of a fixed-output derivation is missing, as explained above. > > =E2=80=98guix system=E2=80=99 doesn=E2=80=99t work so well as you note (t= hough again, that > depends on what you=E2=80=99re building vs. what you have in store). For what it's worth, I've found the --dry-run output to be similarly useless when rebuilding my user profile as well. That said, I acknowledge that I use Guix in a very unusual way (e.g. without substitutes, never running "guix pull", always running from a git checkout using ./pre-inst-env), so I could believe that it works better for most other Guix users. If that's the case, I can just change my private branch to make '--dry-run' imply '--no-grafts' again. Thanks, Mark