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 CCtgOjcke1+GFgAA0tVLHw (envelope-from ) for ; Mon, 05 Oct 2020 13:48:39 +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 sy8YNjcke1/4BQAAB5/wlQ (envelope-from ) for ; Mon, 05 Oct 2020 13:48:39 +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 AD2EF94062D for ; Mon, 5 Oct 2020 13:48:39 +0000 (UTC) Received: from localhost ([::1]:43002 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kPQr0-0002W1-Kk for larch@yhetil.org; Mon, 05 Oct 2020 09:48:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51874) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kPQod-0008RE-My for guix-devel@gnu.org; Mon, 05 Oct 2020 09:46:13 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:58991) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kPQoY-0007ay-7h; Mon, 05 Oct 2020 09:46:06 -0400 Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=35304 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kPQoX-000147-O3; Mon, 05 Oct 2020 09:46:06 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: zimoun Subject: Re: Rewriting inputs and =?utf-8?B?4oCZYXJndW1lbnRz4oCZ?= after patch #43578 References: <20200923161253.2378-1-ludo@gnu.org> <87o8lp3d47.fsf@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 14 =?utf-8?Q?Vend=C3=A9miaire?= an 229 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Mon, 05 Oct 2020 15:46:04 +0200 In-Reply-To: <87o8lp3d47.fsf@gmail.com> (zimoun's message of "Mon, 28 Sep 2020 21:39:04 +0200") Message-ID: <87zh50yeeb.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix-devel@gnu.org Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Spam-Score: -1.51 X-TUID: J0ACy4SZJIkS Hi, zimoun skribis: > Let consider the package =E2=80=99emacs-magit=E2=80=99. It does not depe= nd on > =E2=80=99emacs-minimal=E2=80=99 but instead the argument is replaced by = =E2=80=99emacs-no-x=E2=80=99, > see:=20 > > (build-system emacs-build-system) > (arguments > `(#:emacs ,emacs-no-x ;module support is required > #:tests? #t > > > which is for example confirmed by =E2=80=9Cguix graph =E2=80=93path=E2=80= =9D: > > $ guix graph --path emacs-magit emacs-minimal > guix graph: error: no path from 'emacs-magit@2.90.1-6.7f486d4' to 'emacs-= minimal@27.1' > > $ guix graph --path emacs-magit emacs-no-x > emacs-magit@2.90.1-6.7f486d4 > emacs-libgit@20200515-1.0ef8b13 > emacs-no-x@27.1 > > > > Therefore, it is not possible to rewrite this =E2=80=9Cinputs=E2=80=9C (u= sing the patch > [1]), as the dry-run shows: > > $ guix build emacs-magit --with-input=3Demacs-no-x=3Demacs-next -n AFAICS, it=E2=80=99s working as expected: --8<---------------cut here---------------start------------->8--- $ guix gc --references $(guix build emacs-magit --with-input=3Demacs-no-x= =3Demacs-next -d --no-grafts) |grep emacs-next /gnu/store/8ffjg2961x30171i24pl7j9wafcbli2b-emacs-next-28.0.50.1-0.2ea3466.= drv $ guix gc --references $(guix build emacs-magit --with-input=3Demacs-no-x= =3Demacs-next -d --no-grafts) |grep emacs-no-x --8<---------------cut here---------------end--------------->8--- Now, there dependencies in the graph that depend on =E2=80=98emacs-minimal= =E2=80=99 instead of =E2=80=98emacs-no-x=E2=80=99, so you=E2=80=99d probably also nee= d to replace those. HTH, Ludo=E2=80=99.