diff --git a/src/rattler_build_conda_compat/recipe_sources.py b/src/rattler_build_conda_compat/recipe_sources.py index 5c0d887..739c625 100644 --- a/src/rattler_build_conda_compat/recipe_sources.py +++ b/src/rattler_build_conda_compat/recipe_sources.py @@ -156,8 +156,8 @@ def render(template: str | list[str], context: dict[str, str]) -> str | list[str as_url = Source( url=render(elem_dict["url"], context_variables), template=elem_dict["url"], - sha256=elem_dict.get("sha256"), - md5=elem_dict.get("md5"), + sha256=render(elem_dict.get("sha256"), context_variables), + md5=render(elem_dict.get("md5"), context_variables), context=context_variables, ) final_sources.add(as_url)