aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFélix Sipma <felix.sipma@no-log.org>2018-12-14 18:06:24 +0100
committerFélix Sipma <felix.sipma@no-log.org>2018-12-14 18:06:24 +0100
commit8233122a6ffdbc48a0baa271c9683601a7f9907d (patch)
treed713c14be8d870a4d631200e508eb1a342b1e9bd
parenta679255c8d1bca8363c2b862ad187837a410f77a (diff)
support yaml < 0.8.31 (third try)
-rw-r--r--src/Config/FileConfig.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Config/FileConfig.hs b/src/Config/FileConfig.hs
index c599bab..e9f2730 100644
--- a/src/Config/FileConfig.hs
+++ b/src/Config/FileConfig.hs
@@ -6,6 +6,10 @@ module Config.FileConfig
) where
import Protolude
+#if MIN_VERSION_yaml(0,8,31)
+#else
+import GHC.Show (Show(..))
+#endif
import qualified Data.Yaml as Y
import qualified Data.ByteString.Char8 as BS
import Data.Aeson