lol

nixos/prosody: simplify logic

figsoda dfff1a2b 025142b8

+1 -1
+1 -1
nixos/modules/services/networking/prosody.nix
··· 263 263 if builtins.isString x then ''"${x}"'' 264 264 else if builtins.isBool x then boolToString x 265 265 else if builtins.isInt x then toString x 266 - else if builtins.isList x then ''{ ${lib.concatStringsSep ", " (map (n: toLua n) x) } }'' 266 + else if builtins.isList x then "{ ${lib.concatMapStringsSep ", " toLua x} }" 267 267 else throw "Invalid Lua value"; 268 268 269 269 createSSLOptsStr = o: ''