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
Please register or sign in to comment