aboutsummaryrefslogtreecommitdiff
path: root/src/lib/delivery/delivery_install.c
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@users.noreply.github.com>2024-12-20 07:22:58 -0500
committerGitHub <noreply@github.com>2024-12-20 07:22:58 -0500
commit360cd5b4294dcbec321f8e4b6f84b6c8d63bb4fa (patch)
treeabed73d4c99c391caa729953ed124a7fc0f00393 /src/lib/delivery/delivery_install.c
parentd117a9724e9335ba738fd5cb99c27d4793a4976d (diff)
parent1f91ff4d5e15a9dcfd3de927f795649a3097d93b (diff)
downloadstasis-360cd5b4294dcbec321f8e4b6f84b6c8d63bb4fa.tar.gz
Merge pull request #79 from jhunkeler/remove-package-from-delivery
Remove package from delivery (again)
Diffstat (limited to 'src/lib/delivery/delivery_install.c')
-rw-r--r--src/lib/delivery/delivery_install.c4
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;