|
From: | Paul Jewell |
Subject: | Re: Stumpwm & using Lisp in guix - particularly quicklisp |
Date: | Sun, 25 Dec 2022 07:16:32 +0000 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0 |
Hi Felix, Thanks for the response! On 25/12/2022 04:29, Felix Lechner wrote:
Hi Paul, On Sat, Dec 24, 2022 at 1:46 AM Paul Jewell via <help-guix@gnu.org> wrote:I want to use the same configuration file under guix. Unfortunately I run into a problem as when stumpwm starts, it complains it can't find package "ql".I have used StumpWM with simple configurations. I used only CL modules that were declared as prerequisites to StumpWM as it is packaged in Guix.
I have now added the relevant quicklisp packages via guix in my system configuration file, and they are all loading correctly. I am still getting an error with SB-CLTL2 which didn't go away when I added sbcl-trivial-cltl2 to my configuration - I am still looking for this solution (i.e. - trying to identify which package I need to add to satisfy this requirement!).
StumpWM probably cannot see the Quicklisp packages you installed in your home directory (and maybe also not those in your home profile) because Guix generally uses absolute paths to make prerequisites available to software like StumpWM.
That makes sense.
It means you may have to jump through some hoops to use additional prerequisites in a configuration that is loaded dynamically. In the past, I have provided updated package definitions to myself for that purpose. This is an area with which I am not very familiar, but the restrictions you are experiencing make sense to me and also match my own experience.
I am keen to get my guix system into a state where I can adopt it fully on my laptop. I find the documentation quite terse though when it comes to explaining how guix does things. As a reference, I have no complaints, but when you start off I find it explains how to do something (often with several variants), but not why. Starting with someone else's configuration initially was probably more of a hindrance than a help, but I am past that now.
Once I get everything as I like it, I think I will make a patch to fill out the stumpwm section in the cookbook so others can find their way in more easily.
Best regards, Paul
[Prev in Thread] | Current Thread | [Next in Thread] |