unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Profile hook in build environment?
@ 2020-09-09  8:19 Guillaume Le Vaillant
  2020-09-09  8:35 ` Pierre Neidhardt
  2020-09-09  8:50 ` Ricardo Wurmus
  0 siblings, 2 replies; 5+ messages in thread
From: Guillaume Le Vaillant @ 2020-09-09  8:19 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 897 bytes --]

Hi,

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 #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-09-10  9:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-09  8:19 Profile hook in build environment? Guillaume Le Vaillant
2020-09-09  8:35 ` Pierre Neidhardt
2020-09-09  8:50 ` Ricardo Wurmus
2020-09-10  7:24   ` Guillaume Le Vaillant
2020-09-10  9:57     ` Pierre Neidhardt

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).