[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Profile hook in build environment?

From: Guillaume Le Vaillant
Subject: Profile hook in build environment?
Date: Wed, 09 Sep 2020 10:19:47 +0200
User-agent: mu4e 1.4.13; emacs 27.1


I'm currently experimenting with modifications of the asdf-build-system
to see if it can be simplified.

I tried adding a profile hook that creates the ASDF configuration files
in 'etc/common-lisp/' based on the lisp packages that are present in the
manifest. When using 'guix environment -C --ad-hoc sbcl-lift' for
example, the configuration files are created and contain the right paths
for the sources and compiled files of sbcl-lift, which allows sbcl to
find and load the library.

However, when building a package depending on sbcl-lift, for example
with 'guix build sbcl-trivial-backtrace', sbcl fails to find sbcl-lift.
So it seems that the build environment created by 'guix build' doesn't
run profile hooks, and the ASDF configuration files are missing.

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?

Attachment: signature.asc
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]