Skip to content

Commit

Permalink
Allow repoquery on non env prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
Hind-M committed Dec 3, 2024
1 parent c9eddf3 commit cb761e4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion libmamba/src/api/repoquery.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ namespace mamba
config.at("use_default_prefix_fallback").set_value(true);
config.at("use_root_prefix_fallback").set_value(true);
config.at("target_prefix_checks")
.set_value(MAMBA_ALLOW_EXISTING_PREFIX | MAMBA_ALLOW_MISSING_PREFIX);
.set_value(
MAMBA_ALLOW_EXISTING_PREFIX | MAMBA_ALLOW_MISSING_PREFIX | MAMBA_ALLOW_NOT_ENV_PREFIX
);
config.load();

auto channel_context = ChannelContext::make_conda_compatible(ctx);
Expand Down

0 comments on commit cb761e4

Please sign in to comment.