summaryrefslogtreecommitdiff
path: root/Utility
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2015-05-10 16:31:50 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2015-05-10 16:31:50 -0400
commit8e8679f671d7896a306bea06b2e9e62b967103c8 (patch)
tree930ed049f0b829954831100a3a541a63a6b2587a /Utility
parent7e1dbf002052dea5ddb4374c5897d1addfd1c85b (diff)
disable horrible tab warning, needed in every file that Setup.hs pulls in
This is certianly a cabal bug for not passing the build options in the cabal file when building Setup.hs. And, why oh why did ghc enable this warning by default? So unhappy with this choice.
Diffstat (limited to 'Utility')
-rw-r--r--Utility/Data.hs2
-rw-r--r--Utility/Directory.hs1
-rw-r--r--Utility/Exception.hs1
-rw-r--r--Utility/FileSystemEncoding.hs1
-rw-r--r--Utility/Misc.hs1
-rw-r--r--Utility/Monad.hs2
-rw-r--r--Utility/OSX.hs2
-rw-r--r--Utility/Path.hs1
-rw-r--r--Utility/PosixFiles.hs1
-rw-r--r--Utility/Process.hs1
-rw-r--r--Utility/SafeCommand.hs2
-rw-r--r--Utility/Tmp.hs1
-rw-r--r--Utility/UserInfo.hs1
13 files changed, 17 insertions, 0 deletions
diff --git a/Utility/Data.hs b/Utility/Data.hs
index 5ecd218fb..27c0a824c 100644
--- a/Utility/Data.hs
+++ b/Utility/Data.hs
@@ -5,6 +5,8 @@
- License: BSD-2-clause
-}
+{-# OPTIONS_GHC -fno-warn-tabs #-}
+
module Utility.Data where
{- First item in the list that is not Nothing. -}
diff --git a/Utility/Directory.hs b/Utility/Directory.hs
index 0c95d9675..7322cd85f 100644
--- a/Utility/Directory.hs
+++ b/Utility/Directory.hs
@@ -6,6 +6,7 @@
-}
{-# LANGUAGE CPP #-}
+{-# OPTIONS_GHC -fno-warn-tabs #-}
module Utility.Directory where
diff --git a/Utility/Exception.hs b/Utility/Exception.hs
index ab47ae95f..9d4236c47 100644
--- a/Utility/Exception.hs
+++ b/Utility/Exception.hs
@@ -6,6 +6,7 @@
-}
{-# LANGUAGE ScopedTypeVariables #-}
+{-# OPTIONS_GHC -fno-warn-tabs #-}
module Utility.Exception (
module X,
diff --git a/Utility/FileSystemEncoding.hs b/Utility/FileSystemEncoding.hs
index 139b74fe4..41c5972a0 100644
--- a/Utility/FileSystemEncoding.hs
+++ b/Utility/FileSystemEncoding.hs
@@ -6,6 +6,7 @@
-}
{-# LANGUAGE CPP #-}
+{-# OPTIONS_GHC -fno-warn-tabs #-}
module Utility.FileSystemEncoding (
fileEncoding,
diff --git a/Utility/Misc.hs b/Utility/Misc.hs
index 1fa08ddd1..45d5a0639 100644
--- a/Utility/Misc.hs
+++ b/Utility/Misc.hs
@@ -6,6 +6,7 @@
-}
{-# LANGUAGE CPP #-}
+{-# OPTIONS_GHC -fno-warn-tabs #-}
module Utility.Misc where
diff --git a/Utility/Monad.hs b/Utility/Monad.hs
index 878e0da67..ac751043c 100644
--- a/Utility/Monad.hs
+++ b/Utility/Monad.hs
@@ -5,6 +5,8 @@
- License: BSD-2-clause
-}
+{-# OPTIONS_GHC -fno-warn-tabs #-}
+
module Utility.Monad where
import Data.Maybe
diff --git a/Utility/OSX.hs b/Utility/OSX.hs
index 22028e210..f6aba5096 100644
--- a/Utility/OSX.hs
+++ b/Utility/OSX.hs
@@ -5,6 +5,8 @@
- License: BSD-2-clause
-}
+{-# OPTIONS_GHC -fno-warn-tabs #-}
+
module Utility.OSX where
import Utility.UserInfo
diff --git a/Utility/Path.hs b/Utility/Path.hs
index d8fab10cc..8e3c2bddb 100644
--- a/Utility/Path.hs
+++ b/Utility/Path.hs
@@ -6,6 +6,7 @@
-}
{-# LANGUAGE PackageImports, CPP #-}
+{-# OPTIONS_GHC -fno-warn-tabs #-}
module Utility.Path where
diff --git a/Utility/PosixFiles.hs b/Utility/PosixFiles.hs
index 5a94ead01..4550bebdf 100644
--- a/Utility/PosixFiles.hs
+++ b/Utility/PosixFiles.hs
@@ -8,6 +8,7 @@
-}
{-# LANGUAGE CPP #-}
+{-# OPTIONS_GHC -fno-warn-tabs #-}
module Utility.PosixFiles (
module X,
diff --git a/Utility/Process.hs b/Utility/Process.hs
index 86a25ab91..9f98596be 100644
--- a/Utility/Process.hs
+++ b/Utility/Process.hs
@@ -7,6 +7,7 @@
-}
{-# LANGUAGE CPP, Rank2Types #-}
+{-# OPTIONS_GHC -fno-warn-tabs #-}
module Utility.Process (
module X,
diff --git a/Utility/SafeCommand.hs b/Utility/SafeCommand.hs
index efa14b48e..0704e69f7 100644
--- a/Utility/SafeCommand.hs
+++ b/Utility/SafeCommand.hs
@@ -5,6 +5,8 @@
- License: BSD-2-clause
-}
+{-# OPTIONS_GHC -fno-warn-tabs #-}
+
module Utility.SafeCommand where
import System.Exit
diff --git a/Utility/Tmp.hs b/Utility/Tmp.hs
index dc5598137..de970fe56 100644
--- a/Utility/Tmp.hs
+++ b/Utility/Tmp.hs
@@ -6,6 +6,7 @@
-}
{-# LANGUAGE CPP #-}
+{-# OPTIONS_GHC -fno-warn-tabs #-}
module Utility.Tmp where
diff --git a/Utility/UserInfo.hs b/Utility/UserInfo.hs
index dbb09e70d..7e94cafa4 100644
--- a/Utility/UserInfo.hs
+++ b/Utility/UserInfo.hs
@@ -6,6 +6,7 @@
-}
{-# LANGUAGE CPP #-}
+{-# OPTIONS_GHC -fno-warn-tabs #-}
module Utility.UserInfo (
myHomeDir,