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

@ -15,13 +15,13 @@ import Control.Monad.IfElse
import System.FilePath
import System.Directory
import Control.Monad.IO.Class
import System.PosixCompat.Files
#ifndef mingw32_HOST_OS
import System.Posix.Temp (mkdtemp)
#endif
import Utility.Exception
import Utility.FileSystemEncoding
import Utility.PosixFiles
type Template = String