From: Guillaume Le Vaillant <glv@posteo.net>
To: guix-devel@gnu.org
Subject: Profile hook in build environment?
Date: Wed, 09 Sep 2020 10:19:47 +0200 [thread overview]
Message-ID: <878sdjfjks.fsf@yamatai> (raw)
[-- 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 --]
next reply other threads:[~2020-09-09 8:22 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-09 8:19 Guillaume Le Vaillant [this message]
2020-09-09 8:35 ` Profile hook in build environment? Pierre Neidhardt
2020-09-09 8:50 ` Ricardo Wurmus
2020-09-10 7:24 ` Guillaume Le Vaillant
2020-09-10 9:57 ` Pierre Neidhardt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=878sdjfjks.fsf@yamatai \
--to=glv@posteo.net \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.