ql-https — HTTPS support for Quicklisp via curl
(asdf:load-system "ql-https")
- Quicklisp
- curl
The default implementation is sbcl, if you are using another then set the LISP
environment variable, for example to use Clozure common lisp:
export LISP=ccl
now run the installer script:
curl https://raw.githubusercontent.com/rudolfochrist/ql-https/master/install.sh | bash
mkdir ~/quicklisp
andcd ~/quicklisp
- Go to https://beta.quicklisp.org/client/quicklisp.sexp and lookup
:client-tar
URL, download it, verify hash and untar. - Clone ql-https from https://github.com/rudolfochrist/ql-https.git to
to
~/common-lisp/ql-https
- Disconnect internet. (Prevent that anything leaks over HTTP during the installation)
- Start a fresh REPL and (require 'asdf)
- Load
~/common-lisp/ql-https/ql-setup.lisp
- Eval
(asdf:load-system "ql-https")
- Inspect
ql-http:*fetch-scheme-functions*
and verify everything was registered properly. Bothhttp
andhttps
haveql-https:fetcher
registered. - Connect internet.
- Eval
(quicklisp:setup)
- use the USE-HTTPS restart if you hit the network.
Removing the Missing client-info.sexp, using mock info warning.
- Eval
(ql:update-client)
- move
~/quicklisp/tmp/client-info.sexp
to~/quicklisp
Watch ASCIInema:
(let ((quicklisp-init #p"~/common-lisp/ql-https/ql-setup.lisp"))
(when (probe-file quicklisp-init)
(load quicklisp-init)
(asdf:load-system "ql-https")
(uiop:symbol-call :quicklisp :setup)))
;; optional
#+ql-https
(setf ql-https:*quietly-use-https* t)
Sebastian Christ (mailto:rudolfo.christ@pm.me)
Copyright (c) 2022 Sebastian Christ (rudolfo.christ@pm.me)
Released under the MIT license.