[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Parameterized packages
From: |
zimoun |
Subject: |
Re: Parameterized packages |
Date: |
Mon, 20 Jan 2020 15:34:03 +0100 |
Hi Pierre,
On Fri, 17 Jan 2020 at 17:56, Pierre Neidhardt <address@hidden> wrote:
> In this case, it's trivial to use parameters to influence which compiler
> the build system will use.
I am not sure that "trivial" is the correct word. ;-)
> For gnu-build-system (with gcc, clang, etc.) we can probably do similar
> things already by setting CC.
Yes, and about Rust, Ruby, Perl, etc.
I do think it is the right abstraction. :-)
> The solution to your problem in my opinion is simply to expose just the
> right amount of options through #:arguments for all build systems.
> Would that be satisfactory to you?
Maybe. I am not sure to see what do you mean by '#:arguments'.
If you mean something that does what does
`package-with-explicit-python' to rewrite the 'arguments' field, yes
it is something in this flavor. But generic enough.
For example compare `package-with-explicit-python' and
`package-with-explicit-ocaml'.
Well, something to tweak `lower'. And the question is: what is the
right abstraction?
All the best,
simon
- Re: Parameterized packages, (continued)
- 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 <=
- Build systems and implicit inputs, Ludovic Courtès, 2020/01/21
- Re: Build systems and implicit inputs, zimoun, 2020/01/21
- Re: Build systems and implicit inputs, Pierre Neidhardt, 2020/01/21
- Re: Build systems and implicit inputs, zimoun, 2020/01/21
- Re: Parameterized packages, Ludovic Courtès, 2020/01/19
- Re: Parameterized packages, Pierre Neidhardt, 2020/01/20
- Re: Parameterized packages, zimoun, 2020/01/20
- Re: Parameterized packages, Pierre Neidhardt, 2020/01/20
- Re: Parameterized packages, Pierre Neidhardt, 2020/01/20
- Re: Parameterized packages, ison, 2020/01/20