DBCDK / morph

NixOS deployment tool
MIT License
839 stars 63 forks source link

Add newline to errors from morph. #184

Closed bradfitz closed 2 years ago

bradfitz commented 2 years ago

Add a newline to errors from morph, so you don't end up with output like:

dev:nixconf $ morph push --on=sdlfkj ./network.nix  
trace: warning: The extraArgs argument to eval-config.nix is deprecated. Please set config._module.args instead.
Selected 0/1 hosts (name filter:-1, limits:-0):

No hosts selecteddev:nixconf $ 

Also some import cleanup that came along for the ride from goimports, which seems to match the style mostly already used previously.

srhb commented 2 years ago

I suspect there's some other output shenanigans affecting this, because I don't seem to be missing missing said newline. However, I see no harm in this. Thanks!