Add System.Timeout to base.cabal
authorIan Lynagh <igloo@earth.li>
Sun, 27 May 2007 12:33:14 +0000 (12:33 +0000)
committerIan Lynagh <igloo@earth.li>
Sun, 27 May 2007 12:33:14 +0000 (12:33 +0000)
Filtered out for non-GHC by Setup.hs.

Setup.hs
base.cabal

index 927f409..6f10989 100644 (file)
--- a/Setup.hs
+++ b/Setup.hs
@@ -120,7 +120,7 @@ isPortableBuild :: String -> Bool
 isPortableBuild s
  | "GHC" `isPrefixOf` s = False
  | "Data.Generics" `isPrefixOf` s = False
- | otherwise = s `notElem` ["Foreign.Concurrent"]
+ | otherwise = s `notElem` ["Foreign.Concurrent", "System.Timeout"]
 
 forGHCBuild :: String -> Bool
 forGHCBuild = ("GHC.Prim" /=)
index 38973f2..8f2a29c 100644 (file)
@@ -149,6 +149,7 @@ exposed-modules:
        System.Posix.Internals,
        System.Posix.Signals,
        System.Posix.Types,
+       System.Timeout,
        Text.ParserCombinators.ReadP,
        Text.ParserCombinators.ReadPrec,
        Text.Printf,