aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@users.noreply.github.com>2025-07-02 15:50:32 -0400
committerGitHub <noreply@github.com>2025-07-02 15:50:32 -0400
commited37f69aabe45d7d46517c495afd47ed0df4fb71 (patch)
treea7423ebf8233493de7d5271947bb21a37e3d8440 /src
parent983074bc6f355f2023b6a1475e9bb252881c5d28 (diff)
parent423fd9cfc1e7b674587ceec133ae146b4ecce16e (diff)
downloadstasis-ed37f69aabe45d7d46517c495afd47ed0df4fb71.tar.gz
Merge pull request #115 from jhunkeler/errant-extra-index
Bug: Injected --extra-index-url into conda and pip commands
Diffstat (limited to 'src')
-rw-r--r--src/lib/delivery/delivery_install.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/delivery/delivery_install.c b/src/lib/delivery/delivery_install.c
index 9e28093..f1637a3 100644
--- a/src/lib/delivery/delivery_install.c
+++ b/src/lib/delivery/delivery_install.c
@@ -222,9 +222,9 @@ int delivery_install_packages(struct Delivery *ctx, char *conda_install_dir, cha
if (!ctx->meta.based_on) {
strcat(command_base, " --upgrade");
}
+ sprintf(command_base + strlen(command_base), " --extra-index-url 'file://%s'", ctx->storage.wheel_artifact_dir);
}
- sprintf(command_base + strlen(command_base), " --extra-index-url 'file://%s'", ctx->storage.wheel_artifact_dir);
size_t args_alloc_len = STASIS_BUFSIZ;
char *args = calloc(args_alloc_len + 1, sizeof(*args));
if (!args) {