diff options
| author | Daniel Schaefer <git@danielschaefer.me> | 2018-05-05 15:41:28 +0700 |
|---|---|---|
| committer | Daniel Schaefer <git@danielschaefer.me> | 2018-05-05 15:55:53 +0700 |
| commit | 43650115e34ea610e53f718d9e02de7222ac0ba2 (patch) | |
| tree | 95a7ca5e78e329bd5db392e07776e65d7277e0b5 /pkgs/development/python-modules/httpserver | |
| parent | 34a71a80b8fb74cb07b7239845a667172e0d374f (diff) | |
nixos/documentation: Correct use of lib.optional
lib.optional returns a singleton or an empty list. Therefore the
argument does not need to be wrapped in a list.
An alternative patch could have used lib.optionals but seems like no
more elements are going to be added to the optional list.
Diffstat (limited to 'pkgs/development/python-modules/httpserver')
0 files changed, 0 insertions, 0 deletions
