diff options
author | Symphorien Gibol <symphorien+git@xlumurb.eu> | 2020-04-24 12:00:00 +0000 |
---|---|---|
committer | Symphorien Gibol <symphorien+git@xlumurb.eu> | 2020-04-24 12:00:00 +0000 |
commit | 5b7ffe61403bdbc955e02f40ad0270f337a56475 (patch) | |
tree | 709cf30289e22817dec0fa7eadf276a5d9bcaf23 /nixos/tests/installed-tests | |
parent | a71dc0b27e82d7783d84b7113056814800538bd9 (diff) |
nixos/tests/ibus: fix test
Diffstat (limited to 'nixos/tests/installed-tests')
-rw-r--r-- | nixos/tests/installed-tests/ibus.nix | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/nixos/tests/installed-tests/ibus.nix b/nixos/tests/installed-tests/ibus.nix index af54b612b507..a4bc2a7d7de0 100644 --- a/nixos/tests/installed-tests/ibus.nix +++ b/nixos/tests/installed-tests/ibus.nix @@ -5,16 +5,12 @@ makeInstalledTest { testConfig = { i18n.inputMethod.enabled = "ibus"; + systemd.user.services.ibus-daemon = { + serviceConfig.ExecStart = "${pkgs.ibus}/bin/ibus-daemon --xim --verbose"; + wantedBy = [ "graphical-session.target" ]; + partOf = [ "graphical-session.target" ]; + }; }; - 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") - ''; - withX11 = true; - - # TODO: ibus-daemon is currently crashing or something - # maybe make ibus systemd service that auto-restarts? - meta.broken = true; } |