Skip to content

Commit

Permalink
Add warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Hind-M committed Sep 5, 2024
1 parent 4e50f53 commit 8fb8053
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions libmamba/src/api/pip_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,12 @@ namespace mamba
const auto& deps = other_spec.deps;
const auto& cwd = other_spec.cwd;

LOG_WARNING << fmt::format(
"You are using '{}' as an additional package manager.\nBe aware that packages installed with '{}' are managed independently from 'conda-forge' channel.",
pkg_mgr,
pkg_mgr
);

TemporaryFile specs("mambaf", "", cwd);
{
std::ofstream specs_f = open_ofstream(specs.path());
Expand Down

0 comments on commit 8fb8053

Please sign in to comment.