[XMonad] Build with ghc 8.6

This commit is contained in:
Ivan Malison 2019-01-11 13:42:13 -08:00
parent 8389279a02
commit 6a1249d5b1
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8
2 changed files with 6 additions and 3 deletions

View File

@ -31,8 +31,10 @@ xVisibleProp = getAtom "_XMONAD_VISIBLE_WORKSPACES"
-- | Add support for the \"Current Layout\" and \"Visible Workspaces\" custom
-- hints to the given config.
pagerHints :: XConfig a -> XConfig a
pagerHints c = c { handleEventHook = handleEventHook c +++ pagerHintsEventHook
, logHook = logHook c +++ pagerHintsLogHook }
pagerHints c =
c { handleEventHook = handleEventHook c +++ pagerHintsEventHook
, logHook = logHook c +++ pagerHintsLogHook
}
where x +++ y = x `mappend` y
-- | Update the current values of both custom hints.

View File

@ -8,7 +8,7 @@ packages:
extra-dep: true
extra-deps:
- X11-xft-0.3.1
resolver: lts-11.7
resolver: lts-13.2
nix:
packages:
- pkgconfig
@ -18,3 +18,4 @@ nix:
- xorg.libXinerama
- xorg.libXrandr
- xorg.libXrender
- xorg.libXScrnSaver