Skip to content
Commit 43650115 authored by Daniel Schaefer's avatar Daniel Schaefer
Browse files

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.
parent 34a71a80
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment