1 import ./make-test-python.nix ({ pkgs, ... }:
3 name = "rstudio-server-test";
4 meta.maintainers = with pkgs.lib.maintainers; [ jbedo cfhammill ];
6 nodes.machine = { config, lib, pkgs, ... }: {
7 services.rstudio-server.enable = true;
10 nodes.customPackageMachine = { config, lib, pkgs, ... }: {
11 services.rstudio-server = {
13 package = pkgs.rstudioServerWrapper.override { packages = [ pkgs.rPackages.ggplot2 ]; };
18 machine.wait_for_unit("rstudio-server.service")
19 machine.succeed("curl -f -vvv -s http://127.0.0.1:8787")
21 customPackageMachine.wait_for_unit("rstudio-server.service")
22 customPackageMachine.succeed("curl -f -vvv -s http://127.0.0.1:8787")