addpkg(main/mise): 2026.5.15#29075
Conversation
|
FYI, this PR will likely need a few fixes before merging due to recent changes in mise: |
The upstream mise release is musl-static, which bypasses termux-exec's LD_PRELOAD shebang remapping and breaks any tool mise execs. The previous workaround wrapped invocations in termux-chroot (proot) — slow, and incomplete for shims. Switch to installing a .deb built dynamically against bionic via the personal bridge repo gtbuchanan/mise-termux-bin, until termux/termux-packages#29075 merges and Termux ships mise itself. - install script: download .deb from the bridge repo and `pkg install` it; pre-clean the old wrapper at ~/.local/bin/mise and the static binary under ~/.local/share/mise/ - bashrc: drop the absolute path; new install lives at $PREFIX/bin/mise which is always in Termux's default PATH - mise config: keep node/pnpm in disable_tools, but update the comment — reason is no longer "static binary bypass" but "no Android target in core/aqua backends" - mise.yaml: track gtbuchanan/mise-termux-bin releases instead of jdx/mise direct, so Renovate only proposes versions actually built and published
Co-authored-by: Robert Kirkman <rkirkman@termux.dev> Co-authored-by: Taylor Buchanan <me+dev.git@taylorbuchanan.com>
|
I had completely forgotten about this PR. I've mostly adopted your changes, renamed the directory to I have given you a co-author credit on the updated commit. |
|
Assuming @robertkirkman's approval from March still holds this should be good to merge as soon as the CI finishes. Anything else we should discuss in here before merge @gtbuchanan? |
|
Nothing additional from me. The commit I referenced was effectively the only thing I added on top of this PR. |
|
Sorry for the delay, I got very busy with other things and didn't remember to get back to this PR. |
termux/termux-packages#29075 merged, so mise now ships in Termux's main apt repo. Drop the bridge-repo .deb install + Renovate pin and just add `mise` to the package list in run_onchange_before.sh. Also drop two leftovers that only existed for older mise installs: - `proot` was added solely for termux-chroot wrapping the musl-static binary (jdx/mise#7028 workaround); unused since the bionic-linked .deb landed in 708ca14. - `SSL_CERT_FILE` in dot_profile pointed mise's reqwest client at Termux's CA bundle; Termux's mise links against Termux openssl and finds the bundle natively (verified with `mise ls-remote node`).
mise(formerlyrtx) #17797 (project has since been renamed)As pointed out in the package request, the tool versioning component of
misewon't work on Termux.But the task runner and env management components should still work as expected.
Feedback on this package would be greatly appreciated.
To that end I have included instructions for testing PR artifacts below.
(This is a pre-written, saved reply.)
If you want to test this PR please download the appropriate DEB package(s)
from the build artifacts of the associated PR's latest CI run.
<img width="1029" height="1665" alt="image" src="
Warning
This asset could not be copied from your saved reply. Please try again later.
" />
After downloading the build artifact, make sure to
unzipand un-tarit.Detailed instructions, if needed.