Yes, I misunderstood you!
I see what you're talking about now. Here's where craft-parts prepends the build environment's PATH with existing bin directories: - https://github.com/canonical/craft-parts/blob/4f305249a87e861d182f1525a758452dc5a0df2e/craft_parts/executor/environment.py#L95 - https://github.com/canonical/craft-parts/blob/4f0645b70b64ffcc3db45fa105de020b36308c24/craft_parts/utils/os_utils.py#L75
I agree that staged bin directories shouldn't be appended to the build environment's PATH when cross-compiling.
Yes, I misunderstood you!
I see what you're talking about now. Here's where craft-parts prepends the build environment's PATH with existing bin directories: /github. com/canonical/ craft-parts/ blob/4f305249a8 7e861d182f1525a 758452dc5a0df2e /craft_ parts/executor/ environment. py#L95 /github. com/canonical/ craft-parts/ blob/4f0645b70b 64ffcc3db45fa10 5de020b36308c24 /craft_ parts/utils/ os_utils. py#L75
- https:/
- https:/
I agree that staged bin directories shouldn't be appended to the build environment's PATH when cross-compiling.