add Data.Function
[haskell-directory.git] / package.conf.in
index 447345a..1ab22e9 100644 (file)
@@ -1,3 +1,5 @@
+#include "ghcconfig.h"
+
 name:          PACKAGE
 version:       VERSION
 license:       BSD3
@@ -36,10 +38,10 @@ exposed-modules:
        Data.Bool,
        Data.ByteString,
        Data.ByteString.Char8,
-    Data.ByteString.Lazy
-    Data.ByteString.Lazy.Char8
-    Data.ByteString.Base
-    Data.ByteString.Fusion
+       Data.ByteString.Lazy
+       Data.ByteString.Lazy.Char8
+       Data.ByteString.Base
+       Data.ByteString.Fusion
        Data.Char,
        Data.Complex,
        Data.Dynamic,
@@ -47,6 +49,7 @@ exposed-modules:
        Data.Eq,
        Data.Fixed,
        Data.Foldable,
+       Data.Function,
        Data.FunctorM,
        Data.Generics,
        Data.Generics.Aliases,
@@ -142,8 +145,6 @@ exposed-modules:
        Text.Printf,
        Text.Read,
        Text.Read.Lex,
-       Text.Regex,
-       Text.Regex.Posix,
        Text.Show,
        Text.Show.Functions,
        GHC.Arr,
@@ -181,7 +182,7 @@ library-dirs:       LIB_DIR
 hs-libraries:   "HSbase"
 
 extra-libraries:  "HSbase_cbits"
-#if defined(_MSC_VER) || defined(__MINGW32__) || defined(_WIN32)
+#if defined(mingw32_HOST_OS) || defined(__MINGW32__) || defined(_MSC_VER)
             , "wsock32", "msvcrt", "kernel32", "user32", "shell32"
 #endif