Skip to content

Add ability to augment cross environment PATH configurations #101

Description

@freakboy3742

What is the problem or limitation you are having?

On iOS, the value of PATH is explicitly cleared to ensure there's no leakage of host platform libraries into built wheels. However, these are tools that will sometimes be needed, but can't be included in the "clean" path.

xbuild should have an ability to augment PATH, in addition to overwriting it.

Describe the solution you'd like

If the environment defines an XBUILD_PATH environment variable, that variable should be prepended to the PATH variable used when a cross-platform environment is defined.

This should be honoured on all platforms, even though it's really only needed for iOS.

Describe alternatives you've considered

Require the use to put binaries into a safe path (e.g., the venv's bin directory). This isn't ideal because we can't guarantee what is already in that path.

Additional context

No response

Activity

  1. bunny953 commented on Oct 6, 2026

    @bunny953

    Hi! I’d like to work on this issue by adding support for XBUILD_PATH, including the required tests and documentation.

  2. freakboy3742 commented on Oct 6, 2026

    @freakboy3742
    MemberAuthor

    Thanks, but I've already got a PR for this mostly completed.

    If you're looking for a place to contribute, the BeeWare project board has a range of issues where we're looking for assistance.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions