summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess2018-12-30 14:27:38 -0400
committerJoey Hess2018-12-30 14:27:38 -0400
commit714374151c9ed2297ac9a23a9ebd8344668fb426 (patch)
tree66e593005b882e3f10e1b31328a17477a31108a3
parentdf3f7637560114d47450c25c3cc0e9a3d2068f5f (diff)
Fix build with ghc 8.6.3
Ghc started complaining that the SingI constraints needs UndecidableInstances. I'm not clear why, when it used to work without that extension. UndecidableInstances were already used in MetaTypes..
-rw-r--r--debian/changelog1
-rw-r--r--src/Propellor/Types.hs1
2 files changed, 2 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 776e57cb..c870e48a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ propellor (5.5.1) UNRELEASED; urgency=medium
* Added Libvirt module. Thanks, Sean Whitton.
* When bootstrapping on Debian, libghc-stm-dev may not be available,
as it's become part of ghc, so check before trying to install it.
+ * Fix build with ghc 8.6.3.
-- Joey Hess <id@joeyh.name> Tue, 23 Oct 2018 11:37:16 -0400
diff --git a/src/Propellor/Types.hs b/src/Propellor/Types.hs
index e10e0f5b..7052bf92 100644
--- a/src/Propellor/Types.hs
+++ b/src/Propellor/Types.hs
@@ -1,5 +1,6 @@
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE FlexibleInstances #-}
+{-# LANGUAGE UndecidableInstances #-}
{-# LANGUAGE FlexibleContexts #-}
{-# LANGUAGE MultiParamTypeClasses #-}
{-# LANGUAGE TypeFamilies #-}