From 968583bf057b11d19cbc5c1ef7da04a086182a92 Mon Sep 17 00:00:00 2001 From: Don Harper Date: Thu, 18 Jul 2024 22:00:56 -0500 Subject: [PATCH] makefile | improve error reporting --- makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makefile b/makefile index c25dfba..bb07cf9 100644 --- a/makefile +++ b/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