anchor.diff:        startAll;
         $machine->waitForUnit("magneticod");
         $machine->waitForUnit("magneticow");
  -      $machine->succeed("${pkgs.curl}/bin/curl -u user:password http://localhost:8080");
  -      $machine->succeed("${pkgs.curl}/bin/curl -u user:wrongpwd http://localhost:8080") =~ "Unauthorised." or die;
  +      $machine->succeed("${pkgs.curl}/bin/curl ".
  +        "-u user:password http://localhost:${toString port}");
  +      $machine->succeed("${pkgs.curl}/bin/curl ".
  +        "-u user:wrongpwd http://localhost:${toString port}") =~ "Unauthorised." or die;
         $machine->shutdown();
       '';
   })
  
positive.code:     services.magnetico = {
        enable = true;
        crawler.port = 9000;
        web.credentials.user = "$2y$12$P88ZF6soFthiiAeXnz64aOWDsY3Dw7Yw8fZ6GtiqFNjknD70zDmNe";
      };
    };
  
negative.code: import ./make-test.nix ({ pkgs, ...} :
  
  let
    port = 8081;
  in
  {
    name = "magnetico";
    meta = with pkgs.stdenv.lib.maintainers; {
      maintainers = [ rnhmjoj ];
  