From: Pierre Neidhardt <mail@ambrevar.xyz>
To: Katherine Cox-Buday <cox.katherine.e@gmail.com>
Cc: guix-devel@gnu.org
Subject: Re: ASDF Builder (Common Lisp) & "package-inferred-system" Packages
Date: Tue, 06 Aug 2019 12:41:18 +0200 [thread overview]
Message-ID: <87mugmzicx.fsf@ambrevar.xyz> (raw)
In-Reply-To: <87r26272va.fsf@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1686 bytes --]
Katherine Cox-Buday <cox.katherine.e@gmail.com> writes:
> I never got this to work[1]. I think Ningle's systems are being bundled
> into a single fasl, but for whatever reason, its subsystems cannot be
> found despite that bundled fasl being on the path.
According to Fare in the GitLab discussion, this is to be expected. It
seems that generally fasls cannot be bundled for inferred packages.
> Last I looked at this, I remember being left with the distinct
> impression that we would have to stop producing system fasls, and rather
> than having one directory of system fasls, we'd have a tree of system
> directories, each populated with all the fasls for a system e.g.:
>
> - ~/.guix-profile/lib/sbcl/
> - dbus/
> - dbus-all.fasl
> - dbus-utils.fasl
> - ...
>
> And then find a way to search ~/.guix-profile/lib/sbcl/ recursively. The
> ASDF manual says[2] $XDG_CONFIG_DIRS/common-lisp/source-registry.conf
> can hold configurations, as well as `CL_SOURCE_REGISTRY`. Maybe Guix
> could set one of these in the profile to something like `(:tree
> (:home ".guix-profile/lib/sbcl/"))`.
>
> Or we could stick to the `*source-registry*` variable and use a smarter
> Common Lisp function to populate it.
My current understanding is that *source-registry* is the ideal way to
go. So we would just need to add the /lib/sbcl folder and that should
be enough?
As far as I understand, that's how the ~/.cache/common-lisp fasls are loaded.
This is not too urgent for me anymore since cl-dbus works (source), so I
might only work on this when I have more time in the future.
Cheers!
--
Pierre Neidhardt
https://ambrevar.xyz/
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
prev parent reply other threads:[~2019-08-06 10:41 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-11 0:25 ASDF Builder (Common Lisp) & "package-inferred-system" Packages Katherine Cox-Buday
2019-01-11 9:01 ` Pierre Neidhardt
2019-01-11 15:34 ` Katherine Cox-Buday
2019-01-12 20:24 ` Katherine Cox-Buday
2019-01-13 19:14 ` Andy Patterson
2019-01-14 0:20 ` Katherine Cox-Buday
2019-08-02 16:28 ` Pierre Neidhardt
2019-08-02 16:43 ` Pierre Neidhardt
2019-08-02 17:37 ` Pierre Neidhardt
2019-08-02 20:27 ` Katherine Cox-Buday
2019-08-03 8:04 ` Pierre Neidhardt
2019-08-03 8:44 ` Pierre Neidhardt
2019-08-03 14:14 ` Katherine Cox-Buday
2019-08-06 10:41 ` Pierre Neidhardt [this message]
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=87mugmzicx.fsf@ambrevar.xyz \
--to=mail@ambrevar.xyz \
--cc=cox.katherine.e@gmail.com \
--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.