aboutsummaryrefslogtreecommitdiff
path: root/Common.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 /Common.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 'Common.hs')
-rw-r--r--Common.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Common.hs b/Common.hs
index ba8382613..8ff1b718a 100644
--- a/Common.hs
+++ b/Common.hs
@@ -18,6 +18,7 @@ import System.IO as X hiding (FilePath)
import System.Posix.IO as X hiding (createPipe)
#endif
import System.Exit as X
+import System.PosixCompat.Files as X hiding (fileSize)
import Utility.Misc as X
import Utility.Exception as X
@@ -28,7 +29,6 @@ import Utility.Directory as X
import Utility.Monad as X
import Utility.Data as X
import Utility.Applicative as X
-import Utility.PosixFiles as X hiding (fileSize)
import Utility.FileSize as X
import Utility.Network as X
import Utility.Split as X