diff options
| author | Joey Hess <joeyh@joeyh.name> | 2017-11-02 10:30:13 -0400 |
|---|---|---|
| committer | Joey Hess <joeyh@joeyh.name> | 2017-11-02 10:30:13 -0400 |
| commit | 0a23ae75450cb4938af34fdd591a0605244a62b9 (patch) | |
| tree | 6467f9ab5f2237e3ef6b112596f0ef7d9681714d /src | |
| parent | c92440bbb321c023ad096271b405b0605e4141ed (diff) | |
Add Typeable instance to OriginUrl, fixing build with old versions of ghc.
Diffstat (limited to 'src')
| -rw-r--r-- | src/Propellor/Property/PropellorRepo.hs | 4 |
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) |
