Commit 753890b
committed
Support finding non-primary systems not explicitly defined in .asd
When using ASDF's package-inferred-system, not all systems are
explicitly defined in the .asd file, and therefore do not get picked
up during the metadata generation. This makes it impossible to load
these subsystems directly (for example: "lil/pure/all").
This patch solves this by trying to find a system in a dist by its
primary name (the part before the first slash) if it is not found
verbatim. If the minimum ASDF version is upped in the future, I
recommend replacing much of this with `asdf:primary-system-name`.1 parent 22c8f0b commit 753890b
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
954 | 954 | | |
955 | 955 | | |
956 | 956 | | |
957 | | - | |
| 957 | + | |
| 958 | + | |
| 959 | + | |
| 960 | + | |
| 961 | + | |
958 | 962 | | |
959 | 963 | | |
960 | 964 | | |
| |||
0 commit comments