aboutsummaryrefslogtreecommitdiff
path: root/Common.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2016-04-28 13:18:44 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2016-04-28 13:18:44 -0400
commit4e6ae471667beaa308607b3b03522ebabaf3014a (patch)
tree8772da57337397c4a6d85232c3d5faa49a17fd32 /Common.hs
parent20edc36c790793faf1a01494572d3200308bb114 (diff)
Fix build with directory-1.2.6.2.
It started exporting a isSymbolicLink which supports windows. But, git-annex does no use symlinks on windows yet and this conflicts with the function by the same name from unix-compat, so hide it.
Diffstat (limited to 'Common.hs')
-rw-r--r--Common.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Common.hs b/Common.hs
index 2b8b9a805..8cec490b1 100644
--- a/Common.hs
+++ b/Common.hs
@@ -14,7 +14,7 @@ import Data.Monoid as X
import Data.Default as X
import System.FilePath as X
-import System.Directory as X
+import System.Directory as X hiding (isSymbolicLink)
import System.IO as X hiding (FilePath)
#ifndef mingw32_HOST_OS
import System.Posix.IO as X hiding (createPipe)