From 823394e5264daf2d5f1e84b73e0f7eeddc330cb9 Mon Sep 17 00:00:00 2001 From: John Millikin Date: Tue, 7 Jul 2015 22:05:40 -0700 Subject: [PATCH] Add ghc-prim to build-depends when building with GHC 7.2 and 7.4, because GHC.Generics was moved to base in 7.6. Bump version to 0.3.6. --- xml-types.cabal | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/xml-types.cabal b/xml-types.cabal index d1fd0c7..5979460 100644 --- a/xml-types.cabal +++ b/xml-types.cabal @@ -1,5 +1,5 @@ name: xml-types -version: 0.3.5 +version: 0.3.6 synopsis: Basic types for representing XML license: MIT license-file: license.txt @@ -19,7 +19,7 @@ source-repository head source-repository this type: git location: https://john-millikin.com/code/haskell-xml-types/ - tag: xml-types_0.3.5 + tag: xml-types_0.3.6 library ghc-options: -Wall @@ -27,6 +27,8 @@ library if impl(ghc >= 7.2) extensions: DeriveGeneric, StandaloneDeriving + if impl(ghc >= 7.2) && impl(ghc < 7.6) + build-depends: ghc-prim build-depends: base >= 3.0 && < 5.0 -- 2.34.2