Skip to content

Switch to the mise-bin package - #7244

Merged
dhh merged 2 commits into
quattrofrom
package/mise-bin
Aug 17, 2026
Merged

dhh merged 2 commits into
quattrofrom
package/mise-bin

Conversation

@omarchybot

@omarchybot omarchybot commented Aug 17, 2026 •

Copy link
Copy Markdown
Collaborator

Switches Omarchy from Arch's mise to mise-bin, which ships mise's own release artifacts from the Omarchy repo — PGO+BOLT-optimized on x86_64, glibc-native on both arches — and tracks jdx/mise releases directly.

Two parts:

  • install/omarchy-base.packages names mise-bin, so fresh installs get it.
  • A migration swaps it on existing installs.

Why the migration isn't just omarchy-pkg-add mise-bin

mise-bin both provides and conflicts with mise, and pacman answers its own conflict question with No under --noconfirm — the same behavior omarchy-update-system-pkgs-when-conflicted already documents. I verified it rather than assuming:

:: pipewire-jack-1:1.6.8-1 and jack2-1.9.22-2 are in conflict (jack). Remove jack2? [y/N]
error: unresolvable package conflicts detected

So omarchy-pkg-add mise-bin would fail on every machine that has mise. --ask=4 answers exactly that question with yes.

Dropping mise first isn't an option either: omarchy-zsh and omarchy-fish both declare depends=('mise'), so pacman -Rns mise would refuse. Doing the swap in one transaction keeps them satisfied through mise-bin's provides, which I confirmed (pacman -T jack comes back clean after the equivalent swap).

Verification

Built the real mise-bin PKGBUILD in an archlinux:base-devel container, served it as a local repo, installed Arch's mise first, then ran the migration's exact command:

--- install Arch's mise (the starting state on existing machines)
mise 2026.8.3-1
--- the migration's command: pacman -S --noconfirm --ask=4 mise-bin
:: mise-bin-2026.8.6-1 and mise-2026.8.3-1 are in conflict. Remove mise? [y/N]
removing mise...
installing mise-bin...
--- after:
mise-bin 2026.8.6-1
mise command still works: 2026.8.6 linux-x64 (2026-08-14)
self-update marker: present
--- rerun is a no-op (idempotency guard)

./test/all passes (180 test files).

Nothing else in the tree needed changing: every other mise reference is the command, not the package name, and omarchy-zsh/omarchy-fish keep their depends=('mise') because mise-bin provides it.

🤖 Generated by Opus 5 in Claude Code.

mise-bin carries mise's own release artifacts from the Omarchy repo --
PGO+BOLT-optimized on x86_64, glibc-native on both arches -- instead of
Arch's mise, and tracks jdx/mise releases directly.

Existing installs need a migration because the two packages conflict, and
omarchy-pkg-add cannot make the swap: pacman answers its own conflict
question with No under --noconfirm and fails the transaction. --ask=4
answers that one question, so mise-bin replaces mise in a single
transaction -- which is also what keeps omarchy-zsh and omarchy-fish, both
of which depend on mise, satisfied through the swap by its provides.
Copilot AI balanced review requested due to automatic review settings August 17, 2026 08:20

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

This PR switches the base installation from Arch’s mise package to Omarchy’s mise-bin, and adds a migration to perform the one-transaction swap needed to satisfy dependent packages.

Changes:

  • Add a migration that installs mise-bin while handling the mise conflict in a single pacman transaction.
  • Replace mise with mise-bin in the base package list.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
migrations/1786952219.sh Adds a migration to switch to mise-bin via pacman with conflict prompting handled.
install/omarchy-base.packages Updates the base package set to install mise-bin instead of mise.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread migrations/1786952219.sh
@@ -0,0 +1,17 @@
echo "Switch mise to the mise-bin package from the Omarchy repo"
Comment thread migrations/1786952219.sh Outdated
# with No under --noconfirm and fails the whole transaction ("unresolvable
# package conflicts detected"). --ask=4 is that one question, answered yes.

omarchy-pkg-missing mise-bin || exit 0
Two-path control flow takes an if, per the style guide; the early exit only made the swap line unreachable from a distance.
Copilot AI review requested due to automatic review settings August 17, 2026 09:00

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.

Suppressed comments (1)

migrations/1786952219.sh:2

  • This migration script has no shebang. If it’s executed directly (rather than explicitly invoked via bash by the migration runner), the shell used may be ambiguous and could break if any bash-specific behavior is introduced later. Add an explicit shebang at the top (and, if consistent with other migrations in this repo, enable strict error handling like set -euo pipefail) to make execution deterministic.
echo "Switch mise to the mise-bin package from the Omarchy repo"

@dhh
dhh merged commit 262d6f0 into quattro Aug 17, 2026
3 checks passed
@dhh

dhh commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

cc @jdx

@dhh
dhh deleted the package/mise-bin branch August 17, 2026 09:12
@jdx

jdx commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

lgtm

torturado pushed a commit to torturado/omarchy that referenced this pull request Aug 19, 2026
* Switch to the mise-bin package

mise-bin carries mise's own release artifacts from the Omarchy repo --
PGO+BOLT-optimized on x86_64, glibc-native on both arches -- instead of
Arch's mise, and tracks jdx/mise releases directly.

Existing installs need a migration because the two packages conflict, and
omarchy-pkg-add cannot make the swap: pacman answers its own conflict
question with No under --noconfirm and fails the transaction. --ask=4
answers that one question, so mise-bin replaces mise in a single
transaction -- which is also what keeps omarchy-zsh and omarchy-fish, both
of which depend on mise, satisfied through the swap by its provides.

* Guard the swap with a conditional instead of an early exit

Two-path control flow takes an if, per the style guide; the early exit only made the swap line unreachable from a distance.
sgruendel pushed a commit to sgruendel/omarchy that referenced this pull request Aug 22, 2026
* Switch to the mise-bin package

mise-bin carries mise's own release artifacts from the Omarchy repo --
PGO+BOLT-optimized on x86_64, glibc-native on both arches -- instead of
Arch's mise, and tracks jdx/mise releases directly.

Existing installs need a migration because the two packages conflict, and
omarchy-pkg-add cannot make the swap: pacman answers its own conflict
question with No under --noconfirm and fails the transaction. --ask=4
answers that one question, so mise-bin replaces mise in a single
transaction -- which is also what keeps omarchy-zsh and omarchy-fish, both
of which depend on mise, satisfied through the swap by its provides.

* Guard the swap with a conditional instead of an early exit

Two-path control flow takes an if, per the style guide; the early exit only made the swap line unreachable from a distance.
dhh pushed a commit that referenced this pull request Aug 23, 2026
* Switch to the mise-bin package

mise-bin carries mise's own release artifacts from the Omarchy repo --
PGO+BOLT-optimized on x86_64, glibc-native on both arches -- instead of
Arch's mise, and tracks jdx/mise releases directly.

Existing installs need a migration because the two packages conflict, and
omarchy-pkg-add cannot make the swap: pacman answers its own conflict
question with No under --noconfirm and fails the transaction. --ask=4
answers that one question, so mise-bin replaces mise in a single
transaction -- which is also what keeps omarchy-zsh and omarchy-fish, both
of which depend on mise, satisfied through the swap by its provides.

* Guard the swap with a conditional instead of an early exit

Two-path control flow takes an if, per the style guide; the early exit only made the swap line unreachable from a distance.

(cherry picked from commit 262d6f0)
@dhh dhh mentioned this pull request Aug 23, 2026
nick1udwig pushed a commit to nick1udwig/omarchy that referenced this pull request Sep 9, 2026
* Switch to the mise-bin package

mise-bin carries mise's own release artifacts from the Omarchy repo --
PGO+BOLT-optimized on x86_64, glibc-native on both arches -- instead of
Arch's mise, and tracks jdx/mise releases directly.

Existing installs need a migration because the two packages conflict, and
omarchy-pkg-add cannot make the swap: pacman answers its own conflict
question with No under --noconfirm and fails the transaction. --ask=4
answers that one question, so mise-bin replaces mise in a single
transaction -- which is also what keeps omarchy-zsh and omarchy-fish, both
of which depend on mise, satisfied through the swap by its provides.

* Guard the swap with a conditional instead of an early exit

Two-path control flow takes an if, per the style guide; the early exit only made the swap line unreachable from a distance.
@emirb emirb added this to the 4.5 milestone Oct 17, 2026
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.

5 participants