servant-foreign: Move -XDeriveDataTypeable to servant-foreign.cabal

This commit is contained in:
Ollie Charles 2017-09-20 13:44:42 +01:00 committed by Oleg Grenrus
parent 335e30be74
commit 197d776e08
2 changed files with 5 additions and 5 deletions

View file

@ -47,20 +47,21 @@ library
if impl(ghc >= 8.0) if impl(ghc >= 8.0)
ghc-options: -Wno-redundant-constraints ghc-options: -Wno-redundant-constraints
include-dirs: include include-dirs: include
default-extensions: CPP default-extensions: ConstraintKinds
, ConstraintKinds , CPP
, DataKinds , DataKinds
, DeriveDataTypeable
, FlexibleContexts , FlexibleContexts
, FlexibleInstances , FlexibleInstances
, GeneralizedNewtypeDeriving , GeneralizedNewtypeDeriving
, MultiParamTypeClasses , MultiParamTypeClasses
, OverloadedStrings
, PolyKinds
, ScopedTypeVariables , ScopedTypeVariables
, TemplateHaskell , TemplateHaskell
, TypeFamilies , TypeFamilies
, TypeOperators , TypeOperators
, UndecidableInstances , UndecidableInstances
, OverloadedStrings
, PolyKinds
test-suite spec test-suite spec

View file

@ -1,5 +1,4 @@
{-# LANGUAGE CPP #-} {-# LANGUAGE CPP #-}
{-# LANGUAGE DeriveDataTypeable #-}
#if !MIN_VERSION_base(4,8,0) #if !MIN_VERSION_base(4,8,0)
{-# LANGUAGE NullaryTypeClasses #-} {-# LANGUAGE NullaryTypeClasses #-}
#endif #endif