From b3e55051da655aea9f4b428c08ff5e1cd5b6ca89 Mon Sep 17 00:00:00 2001 From: mithrandi Date: Wed, 26 Jul 2017 01:03:02 +0000 Subject: Added a comment --- .../comment_4_8a3eac770c1bee9295272c46f022a03c._comment | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 doc/forum/Error_building_on_remote_host/comment_4_8a3eac770c1bee9295272c46f022a03c._comment (limited to 'doc') diff --git a/doc/forum/Error_building_on_remote_host/comment_4_8a3eac770c1bee9295272c46f022a03c._comment b/doc/forum/Error_building_on_remote_host/comment_4_8a3eac770c1bee9295272c46f022a03c._comment new file mode 100644 index 00000000..5129fb5d --- /dev/null +++ b/doc/forum/Error_building_on_remote_host/comment_4_8a3eac770c1bee9295272c46f022a03c._comment @@ -0,0 +1,8 @@ +[[!comment format=mdwn + username="mithrandi" + avatar="http://cdn.libravatar.org/avatar/869963bdf99b541c9f0bbfb04b0320f1" + subject="comment 4" + date="2017-07-26T01:03:02Z" + content=""" +Oh, so it is! Must have misread something earlier. +"""]] -- cgit v1.2.3 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. --- debian/changelog | 7 +++++++ .../comment_4_c2e07d9bfba84fbdcf408a09965d6cb6._comment | 10 ++++++++++ src/Propellor/Bootstrap.hs | 4 +++- 3 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 doc/forum/Error_building_on_remote_host/comment_4_c2e07d9bfba84fbdcf408a09965d6cb6._comment (limited to 'doc') diff --git a/debian/changelog b/debian/changelog index 948a44b4..9e1c15c1 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +propellor (4.5.3) UNRELEASED; urgency=medium + + * Add Typeable instance to Bootstrapper, fixing build with old versions + of ghc. + + -- Joey Hess Tue, 25 Jul 2017 21:01:23 -0400 + propellor (4.5.2) unstable; urgency=medium * Added Rsync.installed property. diff --git a/doc/forum/Error_building_on_remote_host/comment_4_c2e07d9bfba84fbdcf408a09965d6cb6._comment b/doc/forum/Error_building_on_remote_host/comment_4_c2e07d9bfba84fbdcf408a09965d6cb6._comment new file mode 100644 index 00000000..7d8f26fe --- /dev/null +++ b/doc/forum/Error_building_on_remote_host/comment_4_c2e07d9bfba84fbdcf408a09965d6cb6._comment @@ -0,0 +1,10 @@ +[[!comment format=mdwn + username="joey" + subject="""comment 4""" + date="2017-07-26T00:52:20Z" + content=""" +Interesting that it works on newer ghc without an explict +`Typeable Bootstrapper` instance. + +I've added the missing instance. +"""]] 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.2.3