summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDino Morelli <dino@ui3.info>2020-10-25 10:16:21 -0400
committerDino Morelli <dino@ui3.info>2020-10-25 10:23:31 -0400
commitcce1205c4915384746ba9347974c9501a01b395a (patch)
tree7802eb5b142b849d147c13242a6c9a26cd67b586
parentb0e577a8c44ee6a4bfcf6bb862503c894150e3ed (diff)
downloadxmobar-cce1205c4915384746ba9347974c9501a01b395a.tar.gz
xmobar-cce1205c4915384746ba9347974c9501a01b395a.tar.bz2
Fix for broken DateZone monitor
There's a longstanding bug in timezone-olson that causes it to fail to read some zoneinfo files (but not all, oddly). This was resolved in timezone-olson-0.2.0 which can be built against by using a later Stackage snapshot than master currently points to. This fix pushes the snapshot up to lts-16.0 and also modifies the cabal version range for timezone-olson to set 0.2.0 as the minimum.
-rw-r--r--stack.yaml4
-rw-r--r--xmobar.cabal2
2 files changed, 3 insertions, 3 deletions
diff --git a/stack.yaml b/stack.yaml
index 560d1a9..ff0008d 100644
--- a/stack.yaml
+++ b/stack.yaml
@@ -1,5 +1,5 @@
-# ghc 8.6.5
-resolver: lts-14.20
+# ghc 8.8.3
+resolver: lts-16.0
packages:
- .
diff --git a/xmobar.cabal b/xmobar.cabal
index 0068451..92f257b 100644
--- a/xmobar.cabal
+++ b/xmobar.cabal
@@ -242,7 +242,7 @@ library
cpp-options: -DALSA
if flag(with_datezone) || flag(all_extensions)
- build-depends: timezone-olson >= 0.1 && < 0.3, timezone-series == 0.1.*
+ build-depends: timezone-olson >= 0.2 && < 0.3, timezone-series == 0.1.*
other-modules: Xmobar.Plugins.DateZone
cpp-options: -DDATEZONE