Skip to content

Commit

Permalink
Allow repoquery on non env prefix (#3649)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hind-M authored Dec 4, 2024
1 parent 50c3aae commit a85eb16
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 a85eb16

Please sign in to comment.