fix(install): scope nemo introspection closure + mpv lua

This commit is contained in:
Phoebus 2026-09-27 03:53:21 -07:00
parent 0036529f51
commit 8a0dfdf965

View file

@ -1041,6 +1041,18 @@ pub fn package_use(config: &InstallConfig, hardware: &HardwareReport) -> String
// from source (proven by VM install run 7: `no ebuilds built with // from source (proven by VM install run 7: `no ebuilds built with
// USE flags to satisfy dev-libs/libxmlb[introspection]`). // USE flags to satisfy dev-libs/libxmlb[introspection]`).
o.push_str("dev-libs/libxmlb introspection\n"); o.push_str("dev-libs/libxmlb introspection\n");
// Nemo also requires x11-libs/xapp[introspection] (proven by VM
// install run 8). libsecret and cinnamon-desktop are the same
// Cinnamon/GNOME closure and build in seconds, so scope them
// pre-emptively rather than spending a VM cycle per atom; USE flags
// cannot pull testing versions, only keywords can.
o.push_str("x11-libs/xapp introspection\n");
o.push_str("app-crypt/libsecret introspection\n");
o.push_str("x11-libs/cinnamon-desktop introspection\n");
// mpv shares swayimg's exactly-one-lua-target REQUIRED_USE class;
// select luajit explicitly (harmless no-op if the profile already
// enables a target or disables lua).
o.push_str("media-video/mpv lua_single_target_luajit\n");
// swayimg REQUIRED_USE demands exactly one lua single target; the // swayimg REQUIRED_USE demands exactly one lua single target; the
// profile enables none, so select luajit explicitly (proven by VM // profile enables none, so select luajit explicitly (proven by VM
// install run 5: `exactly-one-of (lua_single_target_*)` unsatisfied). // install run 5: `exactly-one-of (lua_single_target_*)` unsatisfied).