aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2024-02-06 09:58:18 -0500
committerJoseph Hunkeler <jhunkeler@gmail.com>2024-02-06 09:58:18 -0500
commitc7a376dbca61432a6fd78641a4f7957ec6007279 (patch)
tree1bf8ff1567bfd596bbbc7fa5745f69082d6810fe
parent901cd4d49173dfebd94fbbcd54d1cd9d6260a14f (diff)
downloadstasis-c7a376dbca61432a6fd78641a4f7957ec6007279.tar.gz
Read conda installer's baseurl last in case template strings are used to construct the URL
-rw-r--r--src/deliverable.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/deliverable.c b/src/deliverable.c
index c18d66a..5d5283e 100644
--- a/src/deliverable.c
+++ b/src/deliverable.c
@@ -380,9 +380,6 @@ int delivery_init(struct Delivery *ctx, struct INIFILE *ini, struct INIFILE *cfg
getter(ini, "meta", "python", INIVAL_TYPE_STR)
conv_str(ctx, meta.python)
- getter_required(ini, "conda", "installer_baseurl", INIVAL_TYPE_STR)
- conv_str(ctx, conda.installer_baseurl)
-
getter_required(ini, "conda", "installer_name", INIVAL_TYPE_STR)
conv_str(ctx, conda.installer_name)
@@ -395,6 +392,9 @@ int delivery_init(struct Delivery *ctx, struct INIFILE *ini, struct INIFILE *cfg
getter_required(ini, "conda", "installer_arch", INIVAL_TYPE_STR)
conv_str(ctx, conda.installer_arch)
+ getter_required(ini, "conda", "installer_baseurl", INIVAL_TYPE_STR)
+ conv_str(ctx, conda.installer_baseurl)
+
getter(ini, "conda", "conda_packages", INIVAL_TYPE_STR_ARRAY)
conv_strlist(ctx, conda.conda_packages, "\n")