From 27e5d0c6c20d95221bb5e6d96de720c52f03fdf4 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 25 Jul 2017 21:10:11 -0400 Subject: Add Typeable instance to Bootstrapper, fixing build with old versions of ghc. --- src/Propellor/Bootstrap.hs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/Propellor/Bootstrap.hs') diff --git a/src/Propellor/Bootstrap.hs b/src/Propellor/Bootstrap.hs index 21f051c9..21d29bcc 100644 --- a/src/Propellor/Bootstrap.hs +++ b/src/Propellor/Bootstrap.hs @@ -1,3 +1,5 @@ +{-# LANGUAGE DeriveDataTypeable #-} + module Propellor.Bootstrap ( Bootstrapper(..), Builder(..), @@ -34,7 +36,7 @@ data Bootstrapper = Robustly Builder | OSOnly deriving (Show) data Builder = Cabal | Stack - deriving (Show) + deriving (Show, Typeable) defaultBootstrapper :: Bootstrapper defaultBootstrapper = Robustly Cabal -- cgit v1.3-2-g0d8e