From: Ramakrishnan Muthukrishnan <ram@rkrishnan.org>
Date: Mon, 27 Apr 2015 12:51:37 +0000 (+0530)
Subject: suppress the "orphan instance of Arbitrary" warning
X-Git-Url: https://git.rkrishnan.org/%5B/%5D%20/file/URI:LIT:krugkidfnzsc4/@@named=/index.html?a=commitdiff_plain;h=093abd3efafe557a15722b091fceb4eebfdc390f;p=functorrent.git

suppress the "orphan instance of Arbitrary" warning
---

diff --git a/functorrent.cabal b/functorrent.cabal
index 05ed4b3..a89ceb9 100644
--- a/functorrent.cabal
+++ b/functorrent.cabal
@@ -27,7 +27,7 @@ library
   other-modules:       FuncTorrent.Utils
   other-extensions:    OverloadedStrings
   hs-source-dirs:      src
-  ghc-options:         -Wall -fwarn-incomplete-patterns
+  ghc-options:         -Wall -fwarn-incomplete-patterns -fno-warn-orphans
   default-language:    Haskell2010
   build-depends:       base,
                        base16-bytestring,
@@ -47,7 +47,7 @@ executable functorrent
   main-is:             Main.hs
   other-extensions:    OverloadedStrings
   hs-source-dirs:      src
-  ghc-options:         -Wall -fwarn-incomplete-patterns -optc-Os
+  ghc-options:         -Wall -fwarn-incomplete-patterns -optc-Os -fno-warn-orphans
   default-language:    Haskell2010
   build-depends:       base,
                        base16-bytestring,