From: Guillaume Le Vaillant <glv@posteo.net>
To: Trev <trev@trevdev.ca>
Cc: help-guix@gnu.org
Subject: Re: sbcl-slime-swank won't load
Date: Fri, 19 Aug 2022 14:49:55 +0000 [thread overview]
Message-ID: <87a680tfw7.fsf@kitej> (raw)
In-Reply-To: <87k0749uwb.fsf@codinator.mail-host-address-is-not-set>
[-- Attachment #1: Type: text/plain, Size: 1490 bytes --]
Trev <trev@trevdev.ca> skribis:
> Guillaume Le Vaillant <glv@posteo.net> writes:
>
>> Is sbcl installed in your user profile or not?
>
> Not directly. It might be there as a dependency. Everything other than
> stumpwm itself is installed in my guix home profile.
>
> In order for any of my stumpwm-contrib modules to work, I had to write a
> gexp and an home-xdg-configuration-files service to link them to
> ~/.config/common-lisp.
>
> Currently this is how sbcl-slime-swank is put into
> source-registry.conf.d in my user profile.
>
> Here's the relevant code: https://paste.debian.net/1251005/
For the Common Lisp libraries to be found, the XDG_CONFIG_DIRS and
XDG_DATA_DIRS environment variables must contain the paths to the
profile where the libraries are installed.
Something like:
--8<---------------cut here---------------start------------->8---
XDG_CONFIG_DIRS="/home/username/.guix-profile/etc:..."
XDG_DATA_DIRS="/home/username/.guix-profile/share:..."
--8<---------------cut here---------------end--------------->8---
These variables are set automatically when sbcl is installed in the
profile (they can be set by some other programs too).
If you don't want sbcl in the profile, one or both variables might not
contain the paths to the profile, and your guix-home config has to put
them in. I've never used guix-home yet, but I suppose
home-environment-variables-service-type can do that, and then creating
a custom ".config/common-lisp" directory should not be necessary.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]
next prev parent reply other threads:[~2022-08-19 15:25 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-18 22:18 sbcl-slime-swank won't load Trev
2022-08-19 8:42 ` Guillaume Le Vaillant
2022-08-19 14:21 ` Trev
2022-08-19 14:49 ` Guillaume Le Vaillant [this message]
2022-08-19 15:40 ` Trev
2022-08-20 9:16 ` Guillaume Le Vaillant
2022-08-20 22:58 ` Trev
2022-08-22 11:03 ` Guillaume Le Vaillant
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=87a680tfw7.fsf@kitej \
--to=glv@posteo.net \
--cc=help-guix@gnu.org \
--cc=trev@trevdev.ca \
/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.