From a38ca1954b62ddb5731f9dd5354dc3c74e56a8e4 Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Fri, 13 Jan 2023 12:33:40 +0800 Subject: [PATCH] Fix build on unix with -ftui --- lib/GHCup/Types.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/GHCup/Types.hs b/lib/GHCup/Types.hs index acd128e..8a9b918 100644 --- a/lib/GHCup/Types.hs +++ b/lib/GHCup/Types.hs @@ -414,7 +414,7 @@ data KeyBindings = KeyBindings deriving (Show, GHC.Generic) instance NFData KeyBindings -#if defined(IS_WINDOWS) +#if defined(IS_WINDOWS) || !defined(BRICK) instance NFData Key #endif