diff --git a/libmamba/src/api/pip_utils.cpp b/libmamba/src/api/pip_utils.cpp index 175ca1d00a..c8b3b2fb7c 100644 --- a/libmamba/src/api/pip_utils.cpp +++ b/libmamba/src/api/pip_utils.cpp @@ -1,3 +1,9 @@ +#include +#include +#include +#include +#include +#include #include "mamba/api/install.hpp" #include "mamba/core/activation.hpp" @@ -111,7 +117,7 @@ namespace mamba command_args command = [&] { - const auto maybe_command = get_other_pkg_mgr_command( + const auto maybe_command = get_pip_install_command( pkg_mgr, ctx.prefix_params.target_prefix.string(), specs.path(), @@ -155,7 +161,7 @@ namespace mamba fmt::format("pip failed to {} packages", update ? "update" : "install") ); } + + return command; } } - -#endif // MAMBA_PIP_UTILS_HPP