about summary refs log tree commit diff
path: root/nixos/tests/minecraft-server.nix
AgeCommit message (Collapse)AuthorFilesLines
2022-08-26nixos/minecraft-server: optimize world generation inside testSofi1-0/+2
Due to how complex minecraft world generation has gotten in recent years, it now can take several minutes to complete the first generation of a world seed, even on relatively new and powerful hardware. We are testing if a minecraft server can run inside of a nix enviroment, and not so much about stress testing the CI. Test running before this change: > (finished: waiting for TCP port 43000, in 118.49 seconds) Test running with this change: > (finished: waiting for TCP port 43000, in 27.88 seconds) Choice of using `level-type` and `generate-structures` was made as they support almost every version of minecraft. These two also make it extremely clear what it does, compared to the more complex `generator-settings` and all its toggles.
2022-07-21nixos/minecraft-server: let server shutdown cleanly (#182149)Sofi1-0/+1
2021-05-15nixos/tests/minecraft-server: fix build on i686Milan Pässler1-1/+1
"at most 2047 MB RAM can be simulated"
2021-01-10treewide: simplify pkgs.stdenv.lib -> pkgs.libDominik Xaver Hörl1-1/+1
The library does not depend on stdenv, that `stdenv` exposes `lib` is an artifact of the ancient origins of nixpkgs.
2020-11-28minecraft-server: Add testTim Steinbach1-0/+37