fix(install): select lua target for swayimg

This commit is contained in:
Phoebus 2026-09-26 21:34:09 -07:00
parent 6972511315
commit 3abdc872e2

View file

@ -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("net-print/cups usb ppds\n");
o.push_str("gnome-extra/nemo previewer\n"); o.push_str("gnome-extra/nemo previewer\n");
o.push_str("media-video/mpv wayland\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. // Scoped use entries from validated configuration/AI proposals.
if !config.packages.package_use.is_empty() { if !config.packages.package_use.is_empty() {