From 52168aac120090dab173fb157a3e0e48e5c9abf1 Mon Sep 17 00:00:00 2001 From: MickLesk Date: Thu, 2 Jul 2026 23:06:42 +0200 Subject: [PATCH] Handle mise monorepo_root rename for Immich Updated both Immich setup scripts (`ct/immich.sh` and `install/immich-install.sh`) to patch `mise.toml` before running `mise //:plugins`. The change ensures `monorepo_root = true` is present while retaining `experimental_monorepo_root = true`, so plugin builds work across old and new mise versions after the v2026.7.0 key rename. --- ct/immich.sh | 2 ++ install/immich-install.sh | 2 ++ 2 files changed, 4 insertions(+) diff --git a/ct/immich.sh b/ct/immich.sh index 6fbeac3d9..5df12a07c 100644 --- a/ct/immich.sh +++ b/ct/immich.sh @@ -205,6 +205,8 @@ EOF cd "$SRC_DIR" export MISE_TRUSTED_CONFIG_PATHS="$SRC_DIR"/mise.toml export MISE_DISABLE_TOOLS=github:jellyfin/jellyfin-ffmpeg + # mise v2026.7.0 renamed 'experimental_monorepo_root' to 'monorepo_root'; ensure both are set so the //:plugins task works regardless of mise version + grep -q '^monorepo_root = true' "$SRC_DIR"/mise.toml || sed -i 's/^experimental_monorepo_root = true/monorepo_root = true\nexperimental_monorepo_root = true/' "$SRC_DIR"/mise.toml $STD mise //:plugins mkdir -p "$PLUGIN_DIR" cp -r ./packages/plugin-core/dist "$PLUGIN_DIR"/dist diff --git a/install/immich-install.sh b/install/immich-install.sh index 0718ed830..368953a24 100644 --- a/install/immich-install.sh +++ b/install/immich-install.sh @@ -350,6 +350,8 @@ cp LICENSE "$APP_DIR" cd "$SRC_DIR" export MISE_TRUSTED_CONFIG_PATHS="$SRC_DIR"/mise.toml export MISE_DISABLE_TOOLS=github:jellyfin/jellyfin-ffmpeg +# mise v2026.7.0 renamed 'experimental_monorepo_root' to 'monorepo_root'; ensure both are set so the //:plugins task works regardless of mise version +grep -q '^monorepo_root = true' "$SRC_DIR"/mise.toml || sed -i 's/^experimental_monorepo_root = true/monorepo_root = true\nexperimental_monorepo_root = true/' "$SRC_DIR"/mise.toml $STD mise //:plugins mkdir -p "$PLUGIN_DIR" cp -r ./packages/plugin-core/dist "$PLUGIN_DIR"/dist