Merge pull request #240555 from Artturin/iniglobsecneed
This commit is contained in:
commit
f73b89d2d3
@ -168,7 +168,7 @@ rec {
|
|||||||
mkKeyValue ? mkKeyValueDefault {} "=",
|
mkKeyValue ? mkKeyValueDefault {} "=",
|
||||||
# allow lists as values for duplicate keys
|
# allow lists as values for duplicate keys
|
||||||
listsAsDuplicateKeys ? false
|
listsAsDuplicateKeys ? false
|
||||||
}: { globalSection, sections }:
|
}: { globalSection, sections ? {} }:
|
||||||
( if globalSection == {}
|
( if globalSection == {}
|
||||||
then ""
|
then ""
|
||||||
else (toKeyValue { inherit mkKeyValue listsAsDuplicateKeys; } globalSection)
|
else (toKeyValue { inherit mkKeyValue listsAsDuplicateKeys; } globalSection)
|
||||||
|
Loading…
Reference in New Issue
Block a user