aboutsummaryrefslogtreecommitdiff
path: root/Utility/DirWatcher
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2017-11-09 12:47:05 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2017-11-09 12:47:05 -0400
commitac57659e61f9743aebd35258e89752ced0040f9f (patch)
tree4712861c73a7c7eb521d545cbfe61b9124d2fd49 /Utility/DirWatcher
parent0d594ee1cde0f0b523d66062bcf2d0b854b400dc (diff)
use unix-compat 0.5 on windows
That version has my patches for the problems that Utility.PosixFiles was working around, so am able to get rid of that module now. This will later allow bringing back the custom-setup stanza in the cabal file. It will need to depend on unix-compat 0.5 on all OS's, which I'm not ready to do yet. This commit was sponsored by Nick Daly on Patreon.
Diffstat (limited to 'Utility/DirWatcher')
-rw-r--r--Utility/DirWatcher/Win32Notify.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Utility/DirWatcher/Win32Notify.hs b/Utility/DirWatcher/Win32Notify.hs
index 3428f3db3..a2f40128f 100644
--- a/Utility/DirWatcher/Win32Notify.hs
+++ b/Utility/DirWatcher/Win32Notify.hs
@@ -11,7 +11,7 @@ import Common hiding (isDirectory)
import Utility.DirWatcher.Types
import System.Win32.Notify
-import qualified Utility.PosixFiles as Files
+import qualified System.PosixCompat.Files as Files
watchDir :: FilePath -> (FilePath -> Bool) -> Bool -> WatchHooks -> IO WatchManager
watchDir dir ignored scanevents hooks = do