Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion module.nix
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ in
extraPostVM = lib.mkOption {
type = lib.types.lines;
description = ''
extra shell code to execute once the disk image(s) have been succesfully created and moved to $out
extra shell code to execute once the disk image(s) have been successfully created and moved to $out
'';
default = "";
example = lib.literalExpression ''
Expand Down
4 changes: 2 additions & 2 deletions src/disko_lib/logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,12 +136,12 @@ def render_message(message: ReadableMessage) -> None:

msg_lines = dedent_start_lines(msg_lines)

log_msg(f"{decor_color}─{title} {msg_lines[0]}")
log_msg(f"{decor_color}─{title} {msg_lines[0]}")

for line in msg_lines[1:]:
log_msg(f"{decor_color}│ {RESET} {line}")

log_msg(f"{decor_color}───────────{RESET}") # Exactly as long as the heading
log_msg(f"{decor_color}───────────{RESET}") # Exactly as long as the heading


def debug(msg: str) -> None:
Expand Down