ciel-lang / CIEL

CIEL Is an Extended Lisp. Scripting with batteries included.
http://ciel-lang.org
346 stars 16 forks source link

Binary repl: Quicklisp cache error #19

Open vindarel opened 2 years ago

vindarel commented 2 years ago

Quicklisp is built into a CIEL binary.

But using the repl binary built on CI on my local machine with a different SBCL version causes an error:

ciel-user> (ql:quickload "str")
To load "str":
  Load 1 ASDF system:
    str
; Loading "str"
; 
; compilation unit aborted
;   caught 1 fatal ERROR condition
Evaluation error: Couldn't load
                           #P"/home/vince/.cache/common-lisp/sbcl-2.2.4-linux-x64/root/quicklisp/dists/quicklisp/software/
cl-ppcre-20220220-git/packages.fasl":
                           file does not exist.
=> NIL

The directory …/sbcl-2.2.4… does not exist on my machine.

and indeed

asdf:*user-cache* 
=> #P"/home/vince/.cache/common-lisp/sbcl-2.2.4-linux-x64/"

(lisp-implementation-version)
=> "2.2.4"
vindarel commented 1 year ago

Same topic but unrelated, these QL variables are the ones of the CI, not of my machine:

ql:*quicklisp-home*

ql:*local-project-directories*