From 969d4e1f6ad9e475d9416e22e52baa63c75c7d89 Mon Sep 17 00:00:00 2001 From: makefu Date: Tue, 11 Sep 2018 22:47:42 +0200 Subject: optional string brackets --- lib/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/default.nix b/lib/default.nix index 49c9daa..5209356 100644 --- a/lib/default.nix +++ b/lib/default.nix @@ -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: ( -- cgit v1.2.3