further prettify output

This commit is contained in:
Valentin Gagarin 2024-11-13 15:24:41 +01:00 committed by Valentin Gagarin
parent d4aa88f759
commit cbe10ec304

View file

@ -147,11 +147,11 @@ let
print-element = name: attrs: content: print-element = name: attrs: content:
with lib; with lib;
lib.squash '' squash (trim ''
<${name}${print-attrs attrs}> <${name}${print-attrs attrs}>
${lib.indent " " content} ${lib.indent " " content}
</${name}> </${name}>
''; '');
elements = rec { elements = rec {
document = { ... }: { document = { ... }: {