Fix group target

This commit is contained in:
Aoran Zeng
2025-08-10 20:17:21 +08:00
parent 915dbe1477
commit efd2ea2712
10 changed files with 11 additions and 11 deletions

View File

@@ -45,7 +45,7 @@ pl_python_pdm_getsrc (char *option)
void
pl_python_pdm_setsrc (char *option)
{
Source_t source = chsrc_yield_source (pl_python_group_target, option);
Source_t source = chsrc_yield_source (&pl_python_group_target, option);
if (chsrc_in_standalone_mode())
chsrc_confirm_source(&source);

View File

@@ -41,7 +41,7 @@ pl_python_poetry_getsrc (char *option)
void
pl_python_poetry_setsrc (char *option)
{
Source_t source = chsrc_yield_source (pl_python_group_target, option);
Source_t source = chsrc_yield_source (&pl_python_group_target, option);
if (chsrc_in_standalone_mode())
chsrc_confirm_source(&source);

View File

@@ -57,7 +57,7 @@ void
pl_python_rye_setsrc (char *option)
{
/* 并不在 Python group 中,所以不考虑 target group 情况,仅使用 Python group 提供的源 */
Source_t source = chsrc_yield_source_and_confirm (pl_python_group_target, option);
Source_t source = chsrc_yield_source_and_confirm (&pl_python_group_target, option);
const char *content = RAWSTR_pl_python_rye_config;

View File

@@ -55,7 +55,7 @@ pl_python_pip_setsrc (char *option)
return;
}
Source_t source = chsrc_yield_source (pl_python_group_target, option);
Source_t source = chsrc_yield_source (&pl_python_group_target, option);
if (chsrc_in_standalone_mode())
chsrc_confirm_source(&source);

View File

@@ -111,7 +111,7 @@ pl_python_uv_setsrc (char *option)
{
chsrc_ensure_program ("uv");
Source_t source = chsrc_yield_source (pl_python_group_target, option);
Source_t source = chsrc_yield_source (&pl_python_group_target, option);
if (chsrc_in_standalone_mode())
chsrc_confirm_source(&source);