summaryrefslogtreecommitdiffhomepage
path: root/Types.hs
diff options
context:
space:
mode:
authorJoey Hess <joeyh@joeyh.name>2020-02-14 13:12:26 -0400
committerJoey Hess <joeyh@joeyh.name>2020-02-14 13:12:34 -0400
commitd083843a1f668cf1081b3fd90e390c36698ac604 (patch)
tree61ee7d13191f8a8ca11f86c823b2427179510463 /Types.hs
parent35e03f947c8c0a15f18229b8d5c6f822b88df94c (diff)
downloadkeysafe-d083843a1f668cf1081b3fd90e390c36698ac604.tar.gz
updated many dependencies, ghc 8.x
Updated many dependencies, notably secret-sharing which dropped the dep on polynomial, and so allows building with ghc 8.x. Did not try to support building with older ghc because the semigroup-monid transition would make it nontrivial. Stackage lts-14.25 is a compromise, since the stack shipped in debian (even unstable) is not able to handle newer ones. This commit was sponsored by Eric Drechsel on Patreon.
Diffstat (limited to 'Types.hs')
-rw-r--r--Types.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Types.hs b/Types.hs
index 2f97c61..5ca3a65 100644
--- a/Types.hs
+++ b/Types.hs
@@ -51,7 +51,7 @@ newtype Password = Password B.ByteString
-- | A name associated with a key stored in keysafe.
newtype Name = Name B.ByteString
- deriving (Eq, Show, Monoid)
+ deriving (Eq, Show, Monoid, Semigroup)
-- | Source of the secret key stored in keysafe.
data SecretKeySource = GpgKey KeyId | KeyFile FilePath