Work-around built-in ~/common-lisp/ in search path?
Faré
fahree at gmail.com
Fri Nov 18 23:48:13 UTC 2016
On Wed, Nov 16, 2016 at 2:41 PM, Attila Lendvai <attila at lendvai.name> wrote:
>> I could do that, but I that would also delete
>>
>> system-source-registry
>> system-source-registry-directory and
>> default-system-source-registry
>>
>> ... which I feared might cause me access to bundled SBCL libraries.
>
> i wanted to answer that you shouldn't be afraid, because it's
> implemented through an entry in
> asdf:*system-definition-search-functions*, but then i saw that it's
> not anymore, and i couldn't even find out in 5 minutes how ASDF finds
> SBCL contribs.
>
It's currently implemented as a source-registry wrapper, and is
resiliant to your using :ignore-inherited-configuration. See
asdf/source-registry:wrapping-source-registry. You're right that a
system-definition-search-function might have been nicer (or then again
not). If anyone cares enough to think hard about it, explain why it's
indeed better, and write a patch, we could probably simplify asdf a
little bit (not THAT much either).
—♯ƒ • François-René ÐVB Rideau •Reflection&Cybernethics• http://fare.tunes.org
Maybe violence is sometimes useful. But then it is certainly only so when
successful, leading to victory, not when failed, leading to defeat.
More information about the asdf-devel
mailing list