From 7962e196d53426e5e3842576ecaf3f239c3ab762 Mon Sep 17 00:00:00 2001 From: Lennart Spitzner Date: Thu, 3 Aug 2017 22:24:06 +0200 Subject: [PATCH] Fix cabal/package/building warnings --- brittany.cabal | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/brittany.cabal b/brittany.cabal index 86f1275..93018c8 100644 --- a/brittany.cabal +++ b/brittany.cabal @@ -74,6 +74,7 @@ library { -j -fno-warn-unused-imports -fno-warn-orphans + -fno-warn-redundant-constraints } if flag(brittany-dev) { ghc-options: -O0 -Werror -fobject-code @@ -136,7 +137,9 @@ executable brittany buildable: True } main-is: Main.hs - -- other-modules: + other-modules: { + Paths_brittany + } -- other-extensions: build-depends: { brittany @@ -196,6 +199,7 @@ executable brittany -fno-spec-constr -fno-warn-unused-imports -fno-warn-orphans + -fno-warn-redundant-constraints -rtsopts -with-rtsopts "-M2G" }