diff --git a/src/Nix/Pretty.hs b/src/Nix/Pretty.hs index 72ca042d2..6801923c2 100644 --- a/src/Nix/Pretty.hs +++ b/src/Nix/Pretty.hs @@ -343,7 +343,7 @@ exprFNixDoc = \case prettyContainer h f t c = handlePresence (simpleExpr (h <> t)) - (const $ simpleExpr $ group $ nest 2 $ vsep $ one h <> (f <$> c) <> one t) + (const $ simpleExpr $ group $ nest 2 (h <> line <> vsep (f <$> c)) <> line <> t) c prettyAddScope h c b =