From b2d19824d429ff618ea0c75da5e11ec90fb5f5a6 Mon Sep 17 00:00:00 2001 From: Adithya Kumar Date: Fri, 9 Jul 2021 02:50:51 +0530 Subject: [PATCH] Move dependencies under the if statement for the executable --- unicode-data.cabal | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/unicode-data.cabal b/unicode-data.cabal index a9e9247a..79bdb7fe 100644 --- a/unicode-data.cabal +++ b/unicode-data.cabal @@ -106,13 +106,13 @@ executable ucd2haskell hs-source-dirs: exe main-is: UCD2Haskell.hs other-modules: Parser.Text - build-depends: - base >= 4 && < 5 - , streamly >= 0.8 && < 0.9 - , getopt-generics >= 0.13 && < 0.14 - , containers >= 0.5 && < 0.7 - , directory >= 1.3.6 && < 1.3.7 if flag(ucd2haskell) buildable: True + build-depends: + base >= 4 && < 5 + , streamly >= 0.8 && < 0.9 + , getopt-generics >= 0.13 && < 0.14 + , containers >= 0.5 && < 0.7 + , directory >= 1.3.6 && < 1.3.7 else buildable: False