-
-
Notifications
You must be signed in to change notification settings - Fork 19
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
The REPL build depends on Quicklisp, hardcoded installation details #73
Comments
Update: I removed those lines and built my Guix package. I get a warning that Quicklisp is not installed, but otherwise the REPL seems to work (as far as I can tell after a few minutes). |
Have your changes been upstreamed to the Guix project? |
No. I have only submitted the dependencies of ciel so far. I prefer to do a lot more testing before submitting ciel itself, in particular testing the REPL. I just noticed that it doesn't find the built-in scripts, for example. In the end, if I find that Guix requires changes to ciel that are problematic in other environments, I'll add them as a patch to the Guix package definition. |
Back to the Quicklisp issue: I wonder if the reason for reading |
There are possible improvements on this front and enabling users to use Quicklisp from CIEL out of the box is a high goal. Having them to not rely on QL can be another. Currently, Quicklisp is embedded in the binary but it stills relies on the user having it installed if the user wants to use it. I have some local patches, unfinished.
quicklisp is indeed required when running the file from sources or building a binary, or when trying to but not to run the CIEL repl from a binary.
yes, I am testing a variable, like (defvar *quicklisp* "~/quicklisp/setup" ;; with or without .lisp extension.
"Location to Quicklisp's setup.lisp init file (string). Defaults to ~/quicklisp/setup, as usual.
See LOAD-QUICKLISP.") we'll have to decide wether to set it before or after loading ~/.cielrc.
it does read this file at startup right? See Quicklisp is loaded at build time and harcoded in the binary. We have to make it dynamic, it must find its home dynamically. When we download a binary release from the CI: ql:*quicklisp-home*
=> #P"/root/quicklisp/" So, in order to use QL in CIEL, we must install it, and add its snippet to our init file. |
I see two easy scenarios for Quicklisp:
Any other configuration is some mixture of tricky and risky. I am going for 2. under Guix (there's no other choice), and 1. is what I did on the Mac. And yes, |
repl.lisp
starts withfollowed by
This requires Quicklisp to be installed in
~/quicklisp
. Guix users (see #36) normally don't use Quicklisp at all, and even users who do have Quicklisp may have installed it elsewhere (~/.quicklisp
seems to be popular as well).I don't see immediately why Quicklisp is used here. Nor why
cl-readline
needs to be loaded here, ASDF should have taken care of that already.The text was updated successfully, but these errors were encountered: