Commit 18f2be2e authored by Alyssa Ross's avatar Alyssa Ross
Browse files

nixos/public-inbox: require that URL be non-empty

public-inbox-init doesn't work if passed an empty URL.
parent c4088019
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -177,8 +177,7 @@ in
          description = lib.mdDoc "The email addresses of the public-inbox.";
        };
        options.url = mkOption {
          type = with types; nullOr str;
          default = null;
          type = types.nonEmptyStr;
          example = "https://example.org/lists/example-discuss";
          description = lib.mdDoc "URL where this inbox can be accessed over HTTP.";
        };