Hi Pierre, On Fri, 17 Jan 2020 at 17:56, Pierre Neidhardt <m...@ambrevar.xyz> 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