diff options
author | 2017-12-31 16:08:31 -0400 | |
---|---|---|
committer | 2017-12-31 16:36:39 -0400 | |
commit | 8f3134e5408ea1ea6207028ae17f2b5fb84e0c65 (patch) | |
tree | 99739954cd6b8a3c229a230f005d69f6ed74fb8c /Annex/Common.hs | |
parent | 6f83a6c8f45d7aa325d315654c4fd28de9feb4a6 (diff) |
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.
Diffstat (limited to 'Annex/Common.hs')
-rw-r--r-- | Annex/Common.hs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Annex/Common.hs b/Annex/Common.hs index 52a545a59..bb277df7d 100644 --- a/Annex/Common.hs +++ b/Annex/Common.hs @@ -1,3 +1,5 @@ +{-# LANGUAGE CPP #-} + module Annex.Common (module X) where import Common as X @@ -7,3 +9,6 @@ import Types.UUID as X import Annex as X (gitRepo, inRepo, fromRepo, calcRepo) import Annex.Locations as X import Messages as X +#ifndef mingw32_HOST_OS +import System.Posix.IO as X hiding (createPipe) +#endif |