From 4929da0eac4e1f477b0f77ef6fd60ce615ccb650 Mon Sep 17 00:00:00 2001 From: Tony Zorman Date: Mon, 27 Mar 2023 08:15:37 +0200 Subject: [PATCH] CI: Fix build with mtl-2.3.1 Technically, contrib still does not build with stack, as it forces xmonad-0.17.0, while only HEAD builds with newer mtl versions. However, until our dependencies are at least revbumped, this may be the best we can do. Related: https://github.com/xmonad/xmonad-contrib/issues/805 --- XMonad/Actions/CycleRecentWS.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/XMonad/Actions/CycleRecentWS.hs b/XMonad/Actions/CycleRecentWS.hs index 409e2b15..7bb417ea 100644 --- a/XMonad/Actions/CycleRecentWS.hs +++ b/XMonad/Actions/CycleRecentWS.hs @@ -39,12 +39,12 @@ module XMonad.Actions.CycleRecentWS ( import XMonad.Actions.Repeatable (repeatableSt) import XMonad hiding (workspaces) +import XMonad.Prelude (void, when) import XMonad.StackSet hiding (filter, modify) import Control.Arrow ((&&&)) import Data.Function (on) -import Data.Functor (void) -import Control.Monad.State (lift, when) +import Control.Monad.State (lift) -- $usage -- You can use this module with the following in your @~\/.xmonad\/xmonad.hs@ file: