diff options
| author | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-02-06 09:58:18 -0500 | 
|---|---|---|
| committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-02-06 09:58:18 -0500 | 
| commit | c7a376dbca61432a6fd78641a4f7957ec6007279 (patch) | |
| tree | 1bf8ff1567bfd596bbbc7fa5745f69082d6810fe | |
| parent | 901cd4d49173dfebd94fbbcd54d1cd9d6260a14f (diff) | |
| download | stasis-c7a376dbca61432a6fd78641a4f7957ec6007279.tar.gz | |
Read conda installer's baseurl last in case template strings are used to construct the URL
| -rw-r--r-- | src/deliverable.c | 6 | 
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") | 
