diff options
author | worldofpeace <worldofpeace@protonmail.ch> | 2020-04-24 18:22:59 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-24 18:22:59 -0400 |
commit | ee5cba24c31896b6aeb0af4e21b93b878e54f747 (patch) | |
tree | 76fe6763116779df2a530a6b901d41d5f32c60ce /nixos/tests/installed-tests | |
parent | eeb4e522b5d25408faab02c79a34ead8228531c9 (diff) |
Revert "ibus: fix dconf db installation"
Diffstat (limited to 'nixos/tests/installed-tests')
-rw-r--r-- | nixos/tests/installed-tests/ibus.nix | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/nixos/tests/installed-tests/ibus.nix b/nixos/tests/installed-tests/ibus.nix index a4bc2a7d7de0..af54b612b507 100644 --- a/nixos/tests/installed-tests/ibus.nix +++ b/nixos/tests/installed-tests/ibus.nix @@ -5,12 +5,16 @@ 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; } |