Commit 663c43c
committed
Normalize dependency-defs before resolving inferred-system files
asdf-inferred-system-deps mapped find-system directly over the raw
:depends-on list, but a list-form dependency such as (:version NAME VER),
(:require NAME), or (:feature FEATURE DEP) is not a valid component
designator on its own — ASDF only normalizes those during its own
dependency resolution. Calling find-system on one signals a
formatted-system-definition-error, so asdf-system-files threw for any
package-inferred-system that version-pins a sibling system.
Reduce each dependency-def to its plain system name first, and resolve
with the non-erroring find-system so an unloadable :require/:feature entry
is skipped rather than aborting the whole enumeration.
🄯 Brian O'Reilly <fade@deepsky.com>, 20261 parent 6f9d751 commit 663c43c
1 file changed
Lines changed: 18 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
773 | 773 | | |
774 | 774 | | |
775 | 775 | | |
| 776 | + | |
| 777 | + | |
| 778 | + | |
| 779 | + | |
| 780 | + | |
| 781 | + | |
| 782 | + | |
| 783 | + | |
| 784 | + | |
| 785 | + | |
| 786 | + | |
| 787 | + | |
| 788 | + | |
776 | 789 | | |
777 | 790 | | |
778 | 791 | | |
779 | 792 | | |
780 | | - | |
| 793 | + | |
| 794 | + | |
| 795 | + | |
| 796 | + | |
| 797 | + | |
781 | 798 | | |
782 | 799 | | |
783 | 800 | | |
| |||
0 commit comments