optional string brackets

This commit is contained in:
makefu committed 2018-09-11 22:47:42 +02:00
1 parent 60bda6019f
commit 969d4e1f6a
1 file changed
+3 -3
+3 -3
View File
@@ -94,9 +94,9 @@ let {
# attrValues returns values sorted by name. This is important, because it
# ensures that "/" is processed before "/foo" etc.
in ''
${optionalString (hasAttr "luks" z) concatStringsSep "\n" (attrValues z.luks)}
${optionalString (hasAttr "lvm" z) concatStringsSep "\n" (attrValues z.lvm)}
${optionalString (hasAttr "luks" fs) concatStringsSep "\n" (attrValues z.fs)}
${optionalString (hasAttr "luks" z) (concatStringsSep "\n" (attrValues z.luks))}
${optionalString (hasAttr "lvm" z) (concatStringsSep "\n" (attrValues z.lvm))}
${optionalString (hasAttr "luks" z) (concatStringsSep "\n" (attrValues z.fs))}
'';
mount.luks = q: x: (