Faré wrote:
Using asdf 3.1, you can use *immutable-systems* for that (see its
docstring).
Ok... After initializing Quicklisp and ASDF, I do:
(setq asdf:*immutable-systems* (uiop:list-to-hash-set gendl ... ))
as well as
(asdf/find-system:register-preloaded-system gendl)
...
with all
Here is a hack which seems to work for the moment but clearly is not the
Right Way, because it's doing surgery on asdf::*defined-systems*.
[assume `known-preloaded-systems' is a list of strings naming the known
preloaded systems]:
(dolist (system known-preloaded-systems)
(setf (gethash
Sorry, but doesn't it work to set *immutable-systems* AFTER you load everything?
I admit there not yet a test for this functionality in the asdf test suite;
it may be that the functionality is buggy and/or its API suboptimal,
and you're welcome to suggest patches and/or suggestions.
—♯ƒ •