From mboxrd@z Thu Jan 1 00:00:00 1970 From: zimoun Subject: Re: Parameterized packages Date: Wed, 15 Jan 2020 12:30:28 +0100 Message-ID: References: <87woitz1xx.fsf@gnu.org> <87o945vze5.fsf@nckx> <8736ldq74z.fsf@netris.org> <20190719202906.lbanx5puk7t6q4cr@cf0> <87a7753boq.fsf@ambrevar.xyz> <87h813wah0.fsf@gnu.org> <87v9piut40.fsf@ambrevar.xyz> <87o8v5ukgb.fsf@ambrevar.xyz> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:39893) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1irgsr-0003y9-KQ for guix-devel@gnu.org; Wed, 15 Jan 2020 06:30:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1irgsq-0007rx-8o for guix-devel@gnu.org; Wed, 15 Jan 2020 06:30:49 -0500 In-Reply-To: <87o8v5ukgb.fsf@ambrevar.xyz> 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-mx.org@gnu.org Sender: "Guix-devel" To: Pierre Neidhardt Cc: Guix Devel Hi Pierre, On Wed, 15 Jan 2020 at 10:40, Pierre Neidhardt wrote: > - The source. > - The explicit inputs. > - the implicit inputs. > - The build inputs. > - The build system inputs. > - Recursive inputs. > - ...? > > Which one should we expose? I don't know. If we want the system to > have some set of properties, I guess only the resulting packages matther > and the build inputs don't. But the resulting packages depends on the build inputs. So if the resulting packages matter, then the build inputs too. Well, you already described the issue here [1] (point 7.) -- if I understand correctly. [1] https://lists.gnu.org/archive/html/guix-devel/2020-01/msg00026.html > Should we touch implicit inputs, we would have to parse all the > references and not just the explicit inputs like --with-input does. My mind is not clear at all. What is the final aim to have parametrized packages? What does it mean "parametrized"? Does it mean extend the transformation options as Ludo described [2]. Does it mean more? [2] https://lists.gnu.org/archive/html/guix-devel/2019-05/msg00285.html > > but be able to > > recompile a matrix of combinaison would be really cool! > > Indeed. But now I'm starting to wonder if it is really doable :p What I was thinking of is to parametrize only the build systems. For example, be able to rebuild all the packages with GCC-8.3, or to install Python packages with Python 3.5 instead of the current default Python 3.7. Cheers, simon