prefix-dev / rattler-build

rattler-build is a universal package builder for Windows, macOS and Linux
https://prefix-dev.github.io/rattler-build
BSD 3-Clause "New" or "Revised" License
185 stars 38 forks source link

Parse `variants.yaml` per recipe when using `--recipe-dir` #974

Closed baszalmstra closed 1 month ago

baszalmstra commented 1 month ago

Currently, variants can only be selected globally using the --variant-config flag. However, sometimes a per-recipe variant configuration file can be quite useful.

I propose that for each recipe found when using --recipe-dir we also read a variants.yaml file in the same directory to allow per recipe overrides.

wolfv commented 1 month ago

Sounds good to me!