From c7061b0d736d4cfd3fd98d276339b1be68c4ecb8 Mon Sep 17 00:00:00 2001 From: Tomas Janousek Date: Sun, 26 Jan 2025 22:48:11 +0000 Subject: [PATCH] Remove last remaining derivations of Typeable MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit GHC 9.12 now warns about this: Deriving ‘Typeable’ has no effect: all types now auto-derive Typeable and we specify -Werror so this is needed to fix CI builds with 9.12. Related: f732082fdccb ("Remove all derivations of Typeable") --- XMonad/Layout/CircleEx.hs | 2 +- XMonad/Layout/FixedAspectRatio.hs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/XMonad/Layout/CircleEx.hs b/XMonad/Layout/CircleEx.hs index 34bb69bb..a0bc7bbf 100644 --- a/XMonad/Layout/CircleEx.hs +++ b/XMonad/Layout/CircleEx.hs @@ -116,7 +116,7 @@ data CircleExMsg = Rotate !Double -- ^ Rotate secondary windows by specific angle | IncStackRatio !Rational -- ^ Increase (or decrease, with negative value) sizes of secondary windows | IncMultiplier !Rational -- ^ Increase 'cMultiplier'. - deriving (Eq, Show, Typeable) + deriving (Eq, Show) instance Message CircleExMsg diff --git a/XMonad/Layout/FixedAspectRatio.hs b/XMonad/Layout/FixedAspectRatio.hs index d7dd62ab..8f00f938 100644 --- a/XMonad/Layout/FixedAspectRatio.hs +++ b/XMonad/Layout/FixedAspectRatio.hs @@ -158,6 +158,5 @@ data ManageAspectRatio = FixRatio Rational Window -- ^ Set the aspect ratio for the window | ResetRatio Window -- ^ Remove the aspect ratio for the window | ToggleRatio Rational Window -- ^ Toggle the reatio - deriving Typeable instance Message ManageAspectRatio