summaryrefslogtreecommitdiff
path: root/src/Propellor
diff options
context:
space:
mode:
authorJoey Hess2017-11-02 10:30:13 -0400
committerJoey Hess2017-11-02 10:30:13 -0400
commit0a23ae75450cb4938af34fdd591a0605244a62b9 (patch)
tree6467f9ab5f2237e3ef6b112596f0ef7d9681714d /src/Propellor
parentc92440bbb321c023ad096271b405b0605e4141ed (diff)
Add Typeable instance to OriginUrl, fixing build with old versions of ghc.
Diffstat (limited to 'src/Propellor')
-rw-r--r--src/Propellor/Property/PropellorRepo.hs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Propellor/Property/PropellorRepo.hs b/src/Propellor/Property/PropellorRepo.hs
index 504ff395..825efdfd 100644
--- a/src/Propellor/Property/PropellorRepo.hs
+++ b/src/Propellor/Property/PropellorRepo.hs
@@ -1,3 +1,5 @@
+{-# LANGUAGE DeriveDataTypeable #-}
+
module Propellor.Property.PropellorRepo where
import Propellor.Base
@@ -24,4 +26,4 @@ hasOriginUrl u = setInfoProperty p (toInfo (InfoVal (OriginUrl u)))
else makeChange $ setRepoUrl u
newtype OriginUrl = OriginUrl String
- deriving (Show)
+ deriving (Show, Typeable)