makefile | improve error reporting
This commit is contained in:
parent
37b71f2290
commit
968583bf05
1 changed files with 1 additions and 1 deletions
2
makefile
2
makefile
|
|
@ -8,7 +8,7 @@ switch: prep
|
|||
@alejandra . &> nixos-switch.log || ( cat nixos-switch.log && false)
|
||||
@rm nixos-switch.log
|
||||
@echo Running nixos-rebuild switch
|
||||
@doas nixos-rebuild switch --flake .#${HOSTNAME} &> nixos-switch.log || ( grep --color error nixos-switch.log && false)
|
||||
@doas nixos-rebuild switch --flake .#${HOSTNAME} &> nixos-switch.log || ( grep -E --color '(error|For full logs)' nixos-switch.log && false)
|
||||
|
||||
weekly: pull clean update switch ci push clean
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue