brioche-dev / brioche-packages

Brioche packages, which get auto-published to the Brioche Registry
MIT License
20 stars 1 forks source link

[std] Fix wonky autotools in `std.toolchain()` #51

Open kylewlacy opened 2 months ago

kylewlacy commented 2 months ago

std.toolchain() currently includes autotools, but it's not easy to use do to a bunch of env vars that need to be set. See jq and #50 for some examples

kylewlacy commented 2 months ago

I have a pretty large refactor of brioche-runtime-utils on the rewrite-autowrap branch (permalink) that will be an important ingredient here. Basically, the changes there will make it possible to wrap a shebang script while setting extra env vars. This will be exposed through changes to the std.autowrap function