Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sk7Str1p3's python branch #912

Draft
wants to merge 2 commits into
base: disko-rewrite-python
Choose a base branch
from
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