From 0a23ae75450cb4938af34fdd591a0605244a62b9 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 2 Nov 2017 10:30:13 -0400 Subject: Add Typeable instance to OriginUrl, fixing build with old versions of ghc. --- src/Propellor/Property/PropellorRepo.hs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/Propellor') 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) -- cgit v1.2.3