unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Trev <trev@trevdev.ca>
To: Guillaume Le Vaillant <glv@posteo.net>
Cc: help-guix@gnu.org
Subject: Re: sbcl-slime-swank won't load
Date: Fri, 19 Aug 2022 08:40:15 -0700	[thread overview]
Message-ID: <02362764-EB49-4323-B387-A8CD5E60F512@trevdev.ca> (raw)
In-Reply-To: <87a680tfw7.fsf@kitej>



On August 19, 2022 7:49:55 a.m. PDT, Guillaume Le Vaillant <glv@posteo.net> wrote:
>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).
>

Would the path of least resistance be to install sbcl explicitly in my home profile?

Maybe the way to go is to surrender and eithet put all of my sbcl in the system, or home profile, not both. I am hesitating over installing 3rd party systems on my root profile.

Having gnome/gdm for display management and as a fallback is a nice luxury to have. I guess I need to weigh some priorities here.

>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.

This would be simpler than a gexp for consolidating package source registries.


  reply	other threads:[~2022-08-19 15:53 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
2022-08-19 15:40       ` Trev [this message]
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

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=02362764-EB49-4323-B387-A8CD5E60F512@trevdev.ca \
    --to=trev@trevdev.ca \
    --cc=glv@posteo.net \
    --cc=help-guix@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.
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).