Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

prepend path for build #1429

Merged
merged 2 commits into from
Feb 14, 2025
Merged

prepend path for build #1429

merged 2 commits into from
Feb 14, 2025

Conversation

wolfv
Copy link
Member

@wolfv wolfv commented Feb 14, 2025

@beckermr
Copy link

This is not a full fix since in the build environment CONDA_PREFIX will still not be the same as PREFIX.

@beckermr
Copy link

We need to also not make the build env at all.

@wolfv
Copy link
Member Author

wolfv commented Feb 14, 2025

Hey @beckermr sorry for just doing it - I would have loved your contribution but it is a little bit in the weeds of things. But maybe it can help you get kick-started into rattler-build development anyways :)

If you want to try this locally, I use:

cargo r -- build --recipe ./examples/...

I had a test recipe that looked like this:

package:
  name: foobar
  version: 1.0.0

build:
  merge_build_and_host_envs: true
  script:
    - echo "foo"
    - exit 22
requirements:
  build:
    - ${{ compiler('c') }}
  host:
    - zlib

@beckermr
Copy link

Ah great for the tips and no problem on just doing. I appreciate the fix!

@wolfv wolfv merged commit 6776d0a into prefix-dev:main Feb 14, 2025
15 checks passed
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