Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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.

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.

2 participants