@@ -1,4 +1,5 @@
1{-# LANGUAGE PatternGuards #-}
1{-# LANGUAGE PatternGuards #-}
2module Stackage.Select
3module Stackage.Select
4 , defaultSelectSettings
5 , defaultSelectSettings
@@ -27,6 +28,11 @@ defaultSelectSettings = SelectSettings
27 , excludedPackages = empty
28 , excludedPackages = empty
28 , flags = \coreMap ->
29 , flags = \coreMap ->
29 Set.fromList (words "blaze_html_0_5") `Set.union`
30 Set.fromList (words "blaze_html_0_5") `Set.union`
32+#if defined(mingw32_HOST_OS) || defined(__MINGW32__)
33+ -- Needed on Windows to get unix-compat to compile
34+ Set.fromList (words "old-time") `Set.union`
30 -- Support for containers-unicode-symbols
36 -- Support for containers-unicode-symbols
31 (case Map.lookup (PackageName "containers") coreMap of
37 (case Map.lookup (PackageName "containers") coreMap of
32 Just v | Just range <- simpleParse "< 0.5", v `withinRange` range
38 Just v | Just range <- simpleParse "< 0.5", v `withinRange` range