From c4d8fa4a27d15f612043317a2a17837a841b0f41 Mon Sep 17 00:00:00 2001 From: Patryk Niedzwiedzinski Date: Sun, 29 Sep 2024 18:35:37 +0200 Subject: t14: 23 current 2024-09-29 18:35:34 24.05.20240928.fbca5e7 6.6.52 * --- rebuild/rebuild.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rebuild/rebuild.sh') diff --git a/rebuild/rebuild.sh b/rebuild/rebuild.sh index dfbb7c3..daa190e 100755 --- a/rebuild/rebuild.sh +++ b/rebuild/rebuild.sh @@ -34,7 +34,7 @@ git diff -U0 '*' echo "NixOS Rebuilding..." # Rebuild, output simplified errors, log trackebacks -sudo nixos-rebuild switch --flake $DIR 2>&1 | tee nixos-switch.log || exit 2 +(sudo nixos-rebuild switch --flake $DIR 2>&1 | tee nixos-switch.log) || exit 2 # Get current generation metadata current=$(nixos-rebuild list-generations | grep current) -- cgit 1.4.1