2 # 1. nexus service starts on server
3 # 2. nexus service can startup on server (creating database and all other initial stuff)
4 # 3. the web application is reachable via HTTP
6 import ./make-test-python.nix ({ pkgs, ...} : {
8 meta = with pkgs.lib.maintainers; {
9 maintainers = [ ironpinguin ];
16 { virtualisation.memorySize = 2047; # qemu-system-i386 has a 2047M limit
17 virtualisation.diskSize = 8192;
19 services.nexus.enable = true;
27 server.wait_for_unit("nexus")
28 server.wait_for_open_port(8081)
30 server.succeed("curl -f 127.0.0.1:8081")