nixos/tests/velocity: fix mcstatus command

Tert0 4999e434 300a80c3

+2 -2
+2 -2
nixos/tests/velocity.nix
··· 37 37 (mkVelocityService "velocity-with-native" (pkgs.velocity.override { withVelocityNative = true; })) 38 38 ]; 39 39 40 - environment.systemPackages = [ pkgs.mcstatus ]; 40 + environment.systemPackages = [ (pkgs.python3.withPackages (p: [ p.mcstatus ])) ]; 41 41 }; 42 42 43 43 testScript = '' ··· 50 50 server.wait_until_succeeds(f"journalctl -b -u {name} | grep -q -E '{connections_startup_query}'") 51 51 server.wait_until_succeeds(f"journalctl -b -u {name} | grep -q 'Done ([0-9]*.[0-9]*s)!'"); 52 52 53 - _, status_result = server.execute("mcstatus localhost:25565 status") 53 + _, status_result = server.execute("python -m mcstatus localhost:25565 status") 54 54 assert "A Velocity Server" in status_result 55 55 56 56 server.execute(f"echo stop > /run/{name}.stdin")