Skip to content

Commit

Permalink
Fix the script to make sure user is using conda-forge channel.
Browse files Browse the repository at this point in the history
This resolves the further dependency issues.

Co-authored-by: Arash Koohzad Mohammadi <[email protected]>
  • Loading branch information
2 people authored and klingaard committed Apr 16, 2024
1 parent 3a668fe commit 79241b6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/render_recipe_for_platform.sh
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,8 @@ echo "Rendering recipe in $PWD/conda.recipe"
# from 'conda render'
export SYSTEM_DEFAULTWORKINGDIRECTORY="$PWD"


# Make sure to have conda-forge channel to resolve dependencies
conda config --add channels conda-forge
# Render the recipe into a fully-resolved yaml file
(set -x; conda render -m "$variant_file" --file "$rendered_output" conda.recipe)

Expand Down

0 comments on commit 79241b6

Please sign in to comment.