From 3abdc872e282a14d9827ada82b2aa9055fc40741 Mon Sep 17 00:00:00 2001 From: Phoebus Date: Sat, 26 Sep 2026 21:34:09 -0700 Subject: [PATCH] fix(install): select lua target for swayimg --- installer-rs/crates/phoebus-core/src/system.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/installer-rs/crates/phoebus-core/src/system.rs b/installer-rs/crates/phoebus-core/src/system.rs index 76fc202..386d559 100644 --- a/installer-rs/crates/phoebus-core/src/system.rs +++ b/installer-rs/crates/phoebus-core/src/system.rs @@ -1036,6 +1036,10 @@ pub fn package_use(config: &InstallConfig, hardware: &HardwareReport) -> String o.push_str("net-print/cups usb ppds\n"); o.push_str("gnome-extra/nemo previewer\n"); o.push_str("media-video/mpv wayland\n"); + // swayimg REQUIRED_USE demands exactly one lua single target; the + // profile enables none, so select luajit explicitly (proven by VM + // install run 5: `exactly-one-of (lua_single_target_*)` unsatisfied). + o.push_str("media-gfx/swayimg lua_single_target_luajit\n"); } // Scoped use entries from validated configuration/AI proposals. if !config.packages.package_use.is_empty() {