Skip to content

Look for quicklisp in /var/lib or /home directory#32

Closed
Valenoern wants to merge 1 commit intohellerve:masterfrom
Valenoern:valenoern
Closed

Look for quicklisp in /var/lib or /home directory#32
Valenoern wants to merge 1 commit intohellerve:masterfrom
Valenoern:valenoern

Conversation

@Valenoern
Copy link

I am working on a Linux distribution called v-refracta, and on it most of the programs are supposed to be Lisp.

Here I've patched sbcli to look in either the home directory or a "standard" directory for quicklisp installed by a distribution package.
I'm open to putting quicklisp in a different directory than /var/lib/quicklisp, and if you can think of a better one you could change it here. (I assumed it needed to go in /var because it was going to be written to in less predictable ways than is expected with /usr/share.)

;; check for the two most likely places quicklisp is installed and try to load it
;; on v-refracta, it is simply installed in /var/lib/
(let ((home-quicklisp (merge-pathnames "quicklisp/setup.lisp" (user-homedir-pathname)))
(var-quicklisp (merge-pathnames "setup.lisp" #p"/var/lib/quicklisp/")))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey, this var-quicklisp is inside the let, it is badly indented here.

(load "~/quicklisp/setup")

;; check for the two most likely places quicklisp is installed and try to load it
;; on v-refracta, it is simply installed in /var/lib/
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mentioning v-refracta might be a private comment not needed here?

My 2c.

@hellerve
Copy link
Owner

hellerve commented Mar 7, 2026

Closed as stale. Feel free to re-open if it’s still relevant.

@hellerve hellerve closed this Mar 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants