Repository navigation
0.0.69
A recipe outside an index is read with the host's index libs, as its hooks run.
LoaderContextgainspkgindex_dir, the index the host names for a recipe in no index with libs of its own (a recipe given by path, a host's local overlay). It mirrors the executor'sReadTarget::pkgindex_dirfrom 0.0.68. The spec 3 top-level check reads such a recipe with it, and the recipe's own index still comes first. Before, a recipe that imports an index lib at its top level was installed with the libs but refused when read:import: "xim.pkgindex.<lib>": this recipe is not in an index, which has no libs.build_index(repo, ns, context, output)builds an index in process and reads each recipe with the host's context: platform, architecture andpkgindex_dir. The three-argument builder is unchanged.- The specification states the rule (
docs/spec/xpkg.md§6.2).
Found by xim-pkgindex's registration test with xlings 2026.12.5.1 (openxlings/xim-pkgindex#1477).