aboutsummaryrefslogtreecommitdiff
path: root/src/clients/cave/executables_common.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/clients/cave/executables_common.cc')
-rw-r--r--src/clients/cave/executables_common.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/clients/cave/executables_common.cc b/src/clients/cave/executables_common.cc
index b3ce92028..f54a7d3b3 100644
--- a/src/clients/cave/executables_common.cc
+++ b/src/clients/cave/executables_common.cc
@@ -112,8 +112,8 @@ paludis::cave::executables_common(
PackageDepSpec(parse_user_package_dep_spec(
param, env.get(),
{ updso_allow_wildcards },
- filter::InstalledAtRoot(env->root()))),
- { }) | filter::InstalledAtRoot(env->root()))]);
+ filter::InstalledAtRoot(env->preferred_root_key()->value()))),
+ { }) | filter::InstalledAtRoot(env->preferred_root_key()->value()))]);
if (entries->empty())
throw NoSuchPackageError(param);