babeld module: separate default options by space

In the previous version multiple default values would generate an
invalid babeld config file since all options would be concatenated
without any separator.
This commit is contained in:
Andreas Rammhold 2017-11-10 11:35:32 +01:00
parent 7ebacd1a43
commit 236a7c5452
No known key found for this signature in database
GPG Key ID: E432E410B5E48C86

View File

@ -7,7 +7,7 @@ let
cfg = config.services.babeld;
paramsString = params:
concatMapStringsSep "" (name: "${name} ${boolToString (getAttr name params)}")
concatMapStringsSep " " (name: "${name} ${boolToString (getAttr name params)}")
(attrNames params);
interfaceConfig = name: