[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Parameterized packages
From: |
Pierre Neidhardt |
Subject: |
Re: Parameterized packages |
Date: |
Fri, 17 Jan 2020 17:34:34 +0100 |
Hi Ricardo,
Ricardo Wurmus <address@hidden> writes:
> I think this is a sensible approach, though it would require agreement
> or at least coordination among package contributors about what
> parameters to use. For example, one such parameter could be
> “#:headless” to disable any graphical user interface or desktop feature,
> but a case could just as well be made for “#:gui” or “#:graphical”…
>
> Coordination hasn’t been a problem so far because we managed to agree on
> build systems and utilities, but it seems to me that parameters to match
> on span a much larger range — I feel reminded of the problem of package
> tags or categories, which are a similarly large field that defies
> agreement.
I think Tobias suggestion is a good solution to this: make parameters
first class, global objects. A package can only use globally declared
parameters. This way we have a limited set of well-defined parameters
under control (understand: no duplicates, consistent naming).
As Tobias pointed out, global declaration of parameters allows us to
centralize their documentation and types.
--
Pierre Neidhardt
https://ambrevar.xyz/
signature.asc
Description: PGP signature
- Re: Parameterized packages, (continued)
- Re: Parameterized packages, Ludovic Courtès, 2020/01/10
- Re: Parameterized packages, Pierre Neidhardt, 2020/01/11
- Re: Parameterized packages, zimoun, 2020/01/14
- Re: Parameterized packages, Pierre Neidhardt, 2020/01/15
- Re: Parameterized packages, zimoun, 2020/01/15
- Re: Parameterized packages, Pierre Neidhardt, 2020/01/15
- Re: Parameterized packages, zimoun, 2020/01/15
- Re: Parameterized packages, ison, 2020/01/16
- Re: Parameterized packages, Ricardo Wurmus, 2020/01/16
- Re: Parameterized packages,
Pierre Neidhardt <=
- Re: Parameterized packages, Nicolò Balzarotti, 2020/01/16
- Re: Parameterized packages, Pierre Neidhardt, 2020/01/17
- Re: Parameterized packages, Ludovic Courtès, 2020/01/19
- Re: Parameterized packages, L p R n d n, 2020/01/17
- Re: Parameterized packages, Pierre Neidhardt, 2020/01/17
- Re: Parameterized packages, zimoun, 2020/01/17
- Re: Parameterized packages, Pierre Neidhardt, 2020/01/17
- Re: Parameterized packages, zimoun, 2020/01/20
- Build systems and implicit inputs, Ludovic Courtès, 2020/01/21
- Re: Build systems and implicit inputs, zimoun, 2020/01/21