Skip to content

feat: Add recipe configuration option for pixi-build-rattler-build#5364

Merged
Hofer-Julian merged 4 commits intoprefix-dev:mainfrom
baszalmstra:recipe_yaml
Mar 5, 2026
Merged

feat: Add recipe configuration option for pixi-build-rattler-build#5364
Hofer-Julian merged 4 commits intoprefix-dev:mainfrom
baszalmstra:recipe_yaml

Conversation

@baszalmstra
Copy link
Copy Markdown
Contributor

This is moved from prefix-dev/pixi-build-backends#532

This PR adds support for configuring the path of the recipe.yaml relative to the source location. This is useful if the recipe has a different name.

@isuruf We moved the build backends into this repository. I manually moved all your changes over verbatim in a new commit, adding you as a co-author. I didnt make any changes.

Fixes #5251

(@lucascolley As you were mentioned in the previous PR)

@baszalmstra baszalmstra added enhancement New features pixi-build-rattler-build Issues related to pixi-build-rattler-build. labels Jan 20, 2026
Comment thread crates/pixi_build_backend/src/tools.rs Outdated
@@ -15,6 +15,8 @@ pub struct RattlerBuildBackendConfig {
/// Enable experimental features in rattler-build (e.g., cache support for multi-output recipes)
#[serde(default)]
pub experimental: Option<bool>,
#[serde(default)]
pub recipe_yaml: Option<PathBuf>,
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we should call this recipe-path instead?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I renamed it to just recipe

Comment thread crates/pixi_build_backend/src/tools.rs Outdated
Comment thread crates/pixi_build_backend/src/tools.rs
@isuruf
Copy link
Copy Markdown

isuruf commented Feb 3, 2026

@baszalmstra do you need any help here?

@baszalmstra
Copy link
Copy Markdown
Contributor Author

I want to merge this this week. Im probably only going to rename the argument.

@baszalmstra
Copy link
Copy Markdown
Contributor Author

@Hofer-Julian Can you review this, its ready.

@baszalmstra baszalmstra changed the title feat: Add recipe_yaml configuration option for pixi-build-rattler-build feat: Add recipe configuration option for pixi-build-rattler-build Feb 17, 2026
@isuruf
Copy link
Copy Markdown

isuruf commented Mar 4, 2026

Ping on this

@Hofer-Julian
Copy link
Copy Markdown
Contributor

Ping on this

Will check it out tomorrow, thanks for the reminder

Copy link
Copy Markdown
Contributor

@Hofer-Julian Hofer-Julian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

Thank you and sorry for the delay

@Hofer-Julian Hofer-Julian merged commit 5a93678 into prefix-dev:main Mar 5, 2026
42 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New features pixi-build-rattler-build Issues related to pixi-build-rattler-build.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

configurable recipe location for pixi-build-rattler-build

3 participants