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
This commit is contained in:
Joey Hess 2016-05-22 15:51:31 -04:00
parent 6427b2866c
commit d9368afa54
Failed to extract signature
2 changed files with 19 additions and 3 deletions

View file

@ -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)