diff options
-rw-r--r-- | src/lib/delivery/delivery_install.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/delivery/delivery_install.c b/src/lib/delivery/delivery_install.c index 77bd60b..d3aab01 100644 --- a/src/lib/delivery/delivery_install.c +++ b/src/lib/delivery/delivery_install.c @@ -130,7 +130,7 @@ int delivery_purge_packages(struct Delivery *ctx, const char *env_name, int use_ const char *current_env = conda_get_active_environment(); if (current_env) { - conda_activate(globals.conda_install_prefix, env_name); + conda_activate(ctx->storage.conda_install_prefix, env_name); } struct StrList *list = NULL; @@ -174,7 +174,7 @@ int delivery_purge_packages(struct Delivery *ctx, const char *env_name, int use_ } if (current_env) { - conda_activate(globals.conda_install_prefix, current_env); + conda_activate(ctx->storage.conda_install_prefix, current_env); } return status; |