nixos/postfix: allow dollar parameters in lists (#30612)

This commit is contained in:
Ryan Hendrickson
2017-10-23 17:57:20 +02:00
committed by Joachim Schiele
parent 48d2b58417
commit c522aaafde
2 changed files with 8 additions and 2 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ let
mainCf = let
escape = replaceStrings ["$"] ["$$"];
mkList = items: "\n " + concatMapStringsSep "\n " escape items;
mkList = items: "\n " + concatStringsSep "\n " items;
mkVal = value:
if isList value then mkList value
else " " + (if value == true then "yes"