Skip to content

Conversation

nichmor
Copy link
Contributor

@nichmor nichmor commented Oct 9, 2025

Overview

How to test this:

After running pixi build / pixi lock, you should see intermediate_recipe.yaml inthe work folder like this:

/pixi/examples/pixi-build/cpp-sdl/.pixi/build/work/cpp-sdl-6mtSAKRQn5g/work/intermediate_recipe.yaml

It is added for both v0/v1 protocol methods

@nichmor nichmor marked this pull request as ready for review October 9, 2025 13:22
@ruben-arts
Copy link
Contributor

I think we should always write this file to .pixi/build/work/package_name_hash/generated_recipe.yml. Even when there is no debug-dir.

Copy link
Contributor

@ruben-arts ruben-arts left a comment

Choose a reason for hiding this comment

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

I think this is an important feature. Would you be able to write a simple test that this file is created?

Also, can you write this in the documentation? In some way so users can find this file while debugging pixi build stuff.

);

// Save intermediate recipe in the debug dir
let debug_path = directories.work_dir.join("intermediate_recipe.yaml");
Copy link
Contributor

Choose a reason for hiding this comment

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

Can this recipe still change? If not, why not call this recipe.yaml?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants