···33 meta.maintainers = with lib.maintainers; [ Luflosi ];
4455 nodes.machine = {
66- hardware.opengl.enable = true;
66+ imports = [
77+ ./common/x11.nix
88+ ];
79 };
810911 # This starts the game from a known state, feeds it a prerecorded set of button presses
1012 # and then checks if the final game state is identical to the expected state.
1113 # This is also what AAAAXY's CI system does and serves as a good sanity check.
1214 testScript = ''
1313- machine.wait_for_unit("basic.target")
1515+ machine.wait_for_x()
14161517 machine.succeed(
1618 # benchmark.dem needs to be in a mutable directory,
···1820 "mkdir -p '/tmp/aaaaxy/assets/demos/'",
1921 "ln -s '${pkgs.aaaaxy.testing_infra}/assets/demos/benchmark.dem' '/tmp/aaaaxy/assets/demos/'",
2022 """
2121- '${pkgs.xvfb-run}/bin/xvfb-run' \
2223 '${pkgs.aaaaxy.testing_infra}/scripts/regression-test-demo.sh' \
2324 'aaaaxy' 'on track for Any%, All Paths and No Teleports' \
2425 '${pkgs.aaaaxy}/bin/aaaaxy' '/tmp/aaaaxy/assets/demos/benchmark.dem'