Skip to content

libxpkg 0.0.69

Latest

Choose a tag to compare

@Sunrisepeak Sunrisepeak released this 05 Dec 04:44
dcf144d

0.0.69

A recipe outside an index is read with the host's index libs, as its hooks run.

  • LoaderContext gains pkgindex_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's ReadTarget::pkgindex_dir from 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 and pkgindex_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).