summaryrefslogtreecommitdiff
path: root/Utility/SystemDirectory.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2016-05-22 15:51:31 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2016-05-22 15:51:31 -0400
commit58f7427d897a8d12016a9c3d8995f6de0446eb41 (patch)
treed149cefe2003ac5ca08de2f5c840a14b1847eabe /Utility/SystemDirectory.hs
parent49fdd190711cb419d9cf4ff66a10dcd9d4861b62 (diff)
split out module to work around badly named symbol in directory-1.2.6.2
Sadly my bug report about this is not going to get fixed it seems, so I have to drag around a whole added module file just to deal with it. https://github.com/haskell/directory/issues/52
Diffstat (limited to 'Utility/SystemDirectory.hs')
-rw-r--r--Utility/SystemDirectory.hs16
1 files changed, 16 insertions, 0 deletions
diff --git a/Utility/SystemDirectory.hs b/Utility/SystemDirectory.hs
new file mode 100644
index 000000000..3dd44d199
--- /dev/null
+++ b/Utility/SystemDirectory.hs
@@ -0,0 +1,16 @@
+{- System.Directory without its conflicting isSymbolicLink
+ -
+ - Copyright 2016 Joey Hess <id@joeyh.name>
+ -
+ - License: BSD-2-clause
+ -}
+
+-- Disable warnings because only some versions of System.Directory export
+-- isSymbolicLink.
+{-# OPTIONS_GHC -fno-warn-tabs -w #-}
+
+module Utility.SystemDirectory (
+ module System.Directory
+) where
+
+import System.Directory hiding (isSymbolicLink)