Skip to content

Commit 6219f4e

Browse files
committed
Fix boost-module index redirect namespace
The [indices] table is keyed by namespace, but the member still declared it as `boost` while the dependency moved to namespace `ZheFeng7110`. Registration missed and resolution fell through to the published index: error: dependency 'ZheFeng7110.boost': no package found for exact selector Key the redirect by the dependency's namespace so the checkout's pkgs/z/ZheFeng7110.boost.lua is what gets tested.
1 parent 91d6f6d commit 6219f4e

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

‎tests/examples/boost-module/mcpp.toml‎

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,13 @@
55
# default lookup is exercised.
66
#
77
# Overrides the workspace-root redirect: root declares `compat`, this member
8-
# needs `boost`. A member-level [indices] REPLACES the inherited table rather
9-
# than merging with it, which keeps this to ONE project index repo — two repos
10-
# pointing at the same tree make every lookup ambiguous.
8+
# needs `ZheFeng7110`. The table is keyed by NAMESPACE, so the key must be the
9+
# dependency's namespace (`ZheFeng7110`), not the package name (`boost`). A
10+
# member-level [indices] REPLACES the inherited table rather than merging with
11+
# it, which keeps this to ONE project index repo — two repos pointing at the
12+
# same tree make every lookup ambiguous.
1113
[indices]
12-
boost = { path = "../../.." }
14+
ZheFeng7110 = { path = "../../.." }
1315

1416
[package]
1517
name = "boost-module-tests"

0 commit comments

Comments
 (0)