Skip to content

addpkg(main/mise): 2026.5.15#29075

Merged
TomJo2000 merged 1 commit into
termux:masterfrom
TomJo2000:mise
May 28, 2026
Merged

addpkg(main/mise): 2026.5.15#29075
TomJo2000 merged 1 commit into
termux:masterfrom
TomJo2000:mise

Conversation

@TomJo2000
Copy link
Copy Markdown
Member

@TomJo2000 TomJo2000 commented Mar 23, 2026

As pointed out in the package request, the tool versioning component of mise won'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 unzip and un-tar it.

Detailed instructions, if needed.

# finding out what architecture you need
# architecture is just below the TERMUX_VERSION
termux-info

# e.g.
# [...]
# TERMUX__UID=10228
# TERMUX__USER_ID=0
# Packages CPU architecture:
# aarch64
# [...]

# =======================

# make sure `unzip` and `tar` are installed using
pkg install unzip tar

# unzip the artifact (if you have a different architecture this might be arm, i686 or x86_64 instead)
unzip debs-aarch64-*.zip

# untar the artifact
tar xf debs-aarch64-*.tar

# You should now have a debs/ directory in your current working directory
# Install the packages from the local source using
pkg install -- ./debs/*.deb

# to clean up, you can remove the debs/ directory, .tar file and .zip file
rm -rfi debs debs-aarch64-*.zip debs-aarch64-*.tar

@TomJo2000 TomJo2000 requested a review from Grimler91 as a code owner March 23, 2026 20:20
@TomJo2000 TomJo2000 mentioned this pull request Mar 23, 2026
1 task
@gtbuchanan
Copy link
Copy Markdown
Contributor

FYI, this PR will likely need a few fixes before merging due to recent changes in mise:
gtbuchanan/mise-termux-bin@d43da3f

gtbuchanan added a commit to gtbuchanan/dotfiles that referenced this pull request May 28, 2026
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>
@TomJo2000
Copy link
Copy Markdown
Member Author

I had completely forgotten about this PR.
The changes from that commit you linked make sense and I concur that vendoring to a separate directory is probably the best thing to do here.

I've mostly adopted your changes, renamed the directory to vendor-termux though to make it clearer that we are vendoring this specifically for the termux build.

I have given you a co-author credit on the updated commit.
Also bumped the package to the latest release while I'm here.

@TomJo2000 TomJo2000 changed the title addpkg(main/mise): 2026.3.13 addpkg(main/mise): 2026.5.15 May 28, 2026
@TomJo2000
Copy link
Copy Markdown
Member Author

TomJo2000 commented May 28, 2026

Assuming @robertkirkman's approval from March still holds this should be good to merge as soon as the CI finishes.
And considering the extent of the changes since then is using a different directory, I'm satisfied that it's still essentially the same build.

Anything else we should discuss in here before merge @gtbuchanan?
I skimmed through your mise-termux-bin repo for a bit more context but didn't come up with anything else.

@gtbuchanan
Copy link
Copy Markdown
Contributor

Nothing additional from me. The commit I referenced was effectively the only thing I added on top of this PR.

@TomJo2000 TomJo2000 merged commit a399324 into termux:master May 28, 2026
11 checks passed
@TomJo2000 TomJo2000 deleted the mise branch May 28, 2026 19:22
@TomJo2000
Copy link
Copy Markdown
Member Author

Sorry for the delay, I got very busy with other things and didn't remember to get back to this PR.

gtbuchanan added a commit to gtbuchanan/dotfiles that referenced this pull request May 29, 2026
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`).
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.

[package] mise (formerly rtx)

3 participants