From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: 01/03: gnu: hurd: Add hurd-kernel-headers package. Date: Wed, 26 Aug 2015 13:03:17 +0200 Message-ID: <87h9nm9uru.fsf@gnu.org> References: <20150811133830.13025.5100@vcs.savannah.gnu.org> <87egj0yif0.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48862) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZUYUH-0006vf-DC for guix-devel@gnu.org; Wed, 26 Aug 2015 07:03:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZUYUG-0001by-Ml for guix-devel@gnu.org; Wed, 26 Aug 2015 07:03:25 -0400 In-Reply-To: (Manolis Ragkousis's message of "Tue, 18 Aug 2015 14:13:23 +0300") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Manolis Ragkousis Cc: Guix-devel Manolis Ragkousis skribis: > We discussed that a union package could be helpful to avoid having to > handle 3 packages every time, > plus make it easier to choose between linux and hurd headers. Yes, I remember that. What I wonder though is whether we can achieve the same thing as the union but using propagated inputs instead. > Adding hurd-minimal as an input to hurd-headers will create dependency > problems, because hurd-minimal inherits hurd-headers. Yes, but that=E2=80=99s OK (the =E2=80=98inputs=E2=80=99 field is =E2=80=9C= thunked=E2=80=9D, so it can contain references to not-yet-defined variables.) > I can solve that, but I believe the union package to be a much simpler ap= proach. I think propagated inputs would make things simpler since that would allow us to remove the code that builds the union. But it could be that I=E2=80=99m overlooking something, or that it wouldn= =E2=80=99t work for some obscure reason. Could you give it a try to see what happens? TIA! Ludo=E2=80=99.