aboutsummaryrefslogtreecommitdiff
path: root/CabalHelper/Types.hs
diff options
context:
space:
mode:
authorDaniel Gröber <dxld@darkboxed.org>2015-06-05 22:33:30 +0200
committerDaniel Gröber <dxld@darkboxed.org>2015-06-05 22:53:19 +0200
commit175d208187671b3624f4c5407a5e723074fce524 (patch)
tree3ba3e4f446588cd23667508ea4413fb03f7459b6 /CabalHelper/Types.hs
parentf2cbe04d2f92fa81d7e445cb3b6973bd791c9bd3 (diff)
Add ghc-merged-pkg-options
Needed to properly handle listing all module visible in a package
Diffstat (limited to 'CabalHelper/Types.hs')
-rw-r--r--CabalHelper/Types.hs5
1 files changed, 3 insertions, 2 deletions
diff --git a/CabalHelper/Types.hs b/CabalHelper/Types.hs
index 0c1ebbe..1f7d364 100644
--- a/CabalHelper/Types.hs
+++ b/CabalHelper/Types.hs
@@ -14,7 +14,7 @@
-- You should have received a copy of the GNU Affero General Public License
-- along with this program. If not, see <http://www.gnu.org/licenses/>.
-{-# LANGUAGE DeriveGeneric, DefaultSignatures #-}
+{-# LANGUAGE DeriveGeneric, DeriveDataTypeable, DefaultSignatures #-}
module CabalHelper.Types where
import GHC.Generics
@@ -31,8 +31,9 @@ data ChComponentName = ChSetupHsName
deriving (Eq, Ord, Read, Show, Generic)
data ChResponse
- = ChResponseStrings [(ChComponentName, [String])]
+ = ChResponseCompList [(ChComponentName, [String])]
| ChResponseEntrypoints [(ChComponentName, ChEntrypoint)]
+ | ChResponseList [String]
| ChResponseLbi String
| ChResponseVersion String Version
deriving (Eq, Ord, Read, Show, Generic)