diff --git a/install/omarchy-base.packages b/install/omarchy-base.packages index 08968b2d..7d8a1553 100644 --- a/install/omarchy-base.packages +++ b/install/omarchy-base.packages @@ -78,7 +78,7 @@ lua51 luarocks man-db mariadb-libs -mise +mise-bin moonlight-qt mpv mpv-mpris diff --git a/migrations/1786952219.sh b/migrations/1786952219.sh new file mode 100644 index 00000000..c862ee0d --- /dev/null +++ b/migrations/1786952219.sh @@ -0,0 +1,17 @@ +echo "Switch mise to the mise-bin package from the Omarchy repo" + +# mise-bin carries mise's own release artifacts -- PGO+BOLT-optimized on x86_64, +# glibc-native on both arches -- and takes over from Arch's mise, which it both +# provides and conflicts with. +# +# The swap has to happen in one transaction. Removing mise first breaks +# omarchy-zsh and omarchy-fish, which depend on it; the provides is what keeps +# them satisfied when mise-bin lands in the same transaction that drops mise. +# +# omarchy-pkg-add cannot do that swap: pacman answers its own conflict question +# with No under --noconfirm and fails the whole transaction ("unresolvable +# package conflicts detected"). --ask=4 is that one question, answered yes. + +if omarchy-pkg-missing mise-bin; then + sudo pacman -S --noconfirm --ask=4 mise-bin +fi