nixos/buildkite-agent: enhance documentation for meta-data option

I assumed they were space-separated, which was wrong.

In future it might be better to allow specifying an attrset of strings
for the option.
This commit is contained in:
Rodney Lorrimar 2018-02-18 16:42:13 +00:00
parent 66586c86b9
commit cf6463aa8c
No known key found for this signature in database
GPG key ID: E8E4A1E57778A1B6

View file

@ -76,8 +76,10 @@ in
meta-data = mkOption {
type = types.str;
default = "";
example = "queue=default,docker=true,ruby2=true";
description = ''
Meta data for the agent.
Meta data for the agent. This is a comma-separated list of
<code>key=value</code> pairs.
'';
};