mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
nixos/public-inbox: require that URL be non-empty
public-inbox-init doesn't work if passed an empty URL.
This commit is contained in:
parent
c408801994
commit
18f2be2e56
1 changed files with 1 additions and 2 deletions
|
@ -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.";
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue