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.
This commit is contained in:
Joey Hess 2017-11-09 12:47:05 -04:00
parent 0f150a054b
commit 3ec579f5e1
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
9 changed files with 12 additions and 51 deletions

View file

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