2019-11-07 14:05:42 +00:00
|
|
|
{ pkgs, makeInstalledTest, ... }:
|
|
|
|
|
|
|
|
makeInstalledTest {
|
|
|
|
tested = pkgs.ibus;
|
|
|
|
|
|
|
|
testConfig = {
|
|
|
|
i18n.inputMethod.enabled = "ibus";
|
|
|
|
};
|
|
|
|
|
2020-04-24 23:22:59 +01:00
|
|
|
preTestScript = ''
|
|
|
|
# ibus has ibus-desktop-testing-runner but it tries to manage desktop session so we just spawn ibus-daemon ourselves
|
|
|
|
machine.succeed("ibus-daemon --daemonize --verbose")
|
|
|
|
'';
|
|
|
|
|
2019-11-07 14:05:42 +00:00
|
|
|
withX11 = true;
|
2020-04-24 23:22:59 +01:00
|
|
|
|
|
|
|
# TODO: ibus-daemon is currently crashing or something
|
|
|
|
# maybe make ibus systemd service that auto-restarts?
|
|
|
|
meta.broken = true;
|
2019-11-07 14:05:42 +00:00
|
|
|
}
|