summaryrefslogtreecommitdiff
path: root/Utility/FileMode.hs
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/FileMode.hs
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/FileMode.hs')
-rw-r--r--Utility/FileMode.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Utility/FileMode.hs b/Utility/FileMode.hs
index d9a269448..370bcf62d 100644
--- a/Utility/FileMode.hs
+++ b/Utility/FileMode.hs
@@ -15,7 +15,7 @@ module Utility.FileMode (
import System.IO
import Control.Monad
import System.PosixCompat.Types
-import Utility.PosixFiles
+import System.PosixCompat.Files
#ifndef mingw32_HOST_OS
import System.Posix.Files
import Control.Monad.IO.Class (liftIO)