From c8530866fb936ac17f5c33165457307f615b5ab0 Mon Sep 17 00:00:00 2001 From: Sridhar Ratnakumar Date: Tue, 26 Apr 2022 09:08:32 -0400 Subject: [PATCH] Makefile: workaround kitty issue --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c35e8b4..2f154fd 100644 --- a/Makefile +++ b/Makefile @@ -13,7 +13,8 @@ nixos: macos: sudo ls # cache sudo - $$(nix build --extra-experimental-features "flakes nix-command" .#darwinConfigurations.air.system --no-link --json | jq -r '.[].outputs.out')/sw/bin/darwin-rebuild switch --flake . + # The `TERM` needs to be set to workaround kitty issue: `tput: unknown terminal "xterm-kitty"` + TERM=xterm $$(nix build --extra-experimental-features "flakes nix-command" .#darwinConfigurations.air.system --no-link --json | jq -r '.[].outputs.out')/sw/bin/darwin-rebuild switch --flake . freeupboot: # Delete all but the last few generations