Merge pull request #259222 from bobby285271/fix/gnome-flashback-eval
nixosTests.gnome-flashback: Fix eval
This commit is contained in:
commit
49dda70dbc
|
@ -307,10 +307,9 @@ in
|
|||
gnome-flashback
|
||||
] ++ map gnome-flashback.mkSystemdTargetForWm flashbackWms;
|
||||
|
||||
# gnome-panel needs these for menu applet
|
||||
environment.sessionVariables.XDG_DATA_DIRS = [ "${pkgs.gnome.gnome-flashback}/share" ];
|
||||
# TODO: switch to sessionVariables (resolve conflict)
|
||||
environment.variables.XDG_CONFIG_DIRS = [ "${pkgs.gnome.gnome-flashback}/etc/xdg" ];
|
||||
environment.systemPackages = with pkgs.gnome; [
|
||||
gnome-flashback
|
||||
];
|
||||
})
|
||||
|
||||
(mkIf serviceCfg.core-os-services.enable {
|
||||
|
|
|
@ -49,9 +49,10 @@ import ./make-test-python.nix ({ pkgs, lib, ...} : {
|
|||
assert "alice" in machine.succeed("getfacl -p /dev/snd/timer")
|
||||
|
||||
with subtest("Wait for Metacity"):
|
||||
machine.wait_until_succeeds(
|
||||
"pgrep metacity"
|
||||
)
|
||||
machine.wait_until_succeeds("pgrep metacity")
|
||||
|
||||
with subtest("Regression test for #233920"):
|
||||
machine.wait_until_succeeds("pgrep -fa gnome-flashback-media-keys")
|
||||
machine.sleep(20)
|
||||
machine.screenshot("screen")
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue