From 2e284b813a5160878ce333c0bfbd8195f446ac6e Mon Sep 17 00:00:00 2001 From: Kei Hibino Date: Tue, 3 Apr 2018 19:01:31 +0900 Subject: [PATCH] examples/HDBC/PostgreSQL: add buildable flag for GHC 7 --- examples/HDBC/PostgreSQL/hrr-example-HDBC-postgresql.cabal | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/HDBC/PostgreSQL/hrr-example-HDBC-postgresql.cabal b/examples/HDBC/PostgreSQL/hrr-example-HDBC-postgresql.cabal index 84a832a3..0af666b0 100644 --- a/examples/HDBC/PostgreSQL/hrr-example-HDBC-postgresql.cabal +++ b/examples/HDBC/PostgreSQL/hrr-example-HDBC-postgresql.cabal @@ -36,6 +36,8 @@ Executable example1 ghc-options: -Wall Executable example1O + if impl(ghc < 8.0) + buildable: False default-language: Haskell2010 build-depends: base <5 , template-haskell