From 8f3134e5408ea1ea6207028ae17f2b5fb84e0c65 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 31 Dec 2017 16:08:31 -0400 Subject: finally really add back custom-setup stanza Fourth or fifth try at this and finally found a way to make it work. Absurd amount of busy-work forced on me by change in cabal's behavior. Split up Utility modules that need posix stuff out of ones used by Setup. Various other hacks around inability for Setup to use anything that ifdefs a use of unix. Probably lost a full day of my life to this. This is how build systems make their users hate them. Just saying. --- Common.hs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'Common.hs') diff --git a/Common.hs b/Common.hs index 8ff1b718a..9505620ae 100644 --- a/Common.hs +++ b/Common.hs @@ -1,4 +1,4 @@ -{-# LANGUAGE PackageImports, CPP #-} +{-# LANGUAGE PackageImports #-} module Common (module X) where @@ -14,9 +14,6 @@ import Data.Default as X import System.FilePath as X import System.IO as X hiding (FilePath) -#ifndef mingw32_HOST_OS -import System.Posix.IO as X hiding (createPipe) -#endif import System.Exit as X import System.PosixCompat.Files as X hiding (fileSize) -- cgit v1.2.3