[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Profile hook in build environment?
From: |
Guillaume Le Vaillant |
Subject: |
Re: Profile hook in build environment? |
Date: |
Thu, 10 Sep 2020 09:24:37 +0200 |
User-agent: |
mu4e 1.4.13; emacs 27.1 |
Ricardo Wurmus <rekado@elephly.net> skribis:
> Guillaume Le Vaillant <glv@posteo.net> writes:
>
>> Is there a way to generate files and add them to the environment created
>> by 'guix build' as it can be done with profile hooks?
>
> Yes, the build system can do whatever it wants. The
> texlive-build-system, for example, builds a union directory from all TeX
> Live inputs and then modifies the configuration file.
Thanks for the pointer, it has been very useful.
Pierre Neidhardt <mail@ambrevar.xyz> skribis:
> Hi Guillaume,
>
> Thanks for taking a shot at this ;)
>
> Why would we need to generate the ASDF configuration file in a hook?
> Can't we do it at build time?
>
> Cheers!
I got rid of the hook and now I'm creating all the required files/links
at build time in 'etc/common-lisp/source-registry.conf.d/' and in
'etc/common-lisp/asdf-output-translations.conf.d/'.
It seems to work well with packages having simple definitions. Now
I have to check and adapt the more complex ones.
signature.asc
Description: PGP signature