X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=Setup.hs;h=f7a4a0ca24f62e5949a3a92beba59f33bfed5798;hb=f64a8e4d516f6c285cc47dd2ef05e716998014d6;hp=13502f48aec2cb50c6af872dd01d0b54a6351c54;hpb=18397cc96aab8208aa98387ab35cd555ef2756c2;p=haskell-directory.git diff --git a/Setup.hs b/Setup.hs index 13502f4..f7a4a0c 100644 --- a/Setup.hs +++ b/Setup.hs @@ -83,8 +83,7 @@ isPortableBuild :: String -> Bool isPortableBuild s | "GHC" `isPrefixOf` s = False | "Data.Generics" `isPrefixOf` s = False - | otherwise = s `elem` ["Foreign.Concurrent", - "System.Process"] + | otherwise = s `notElem` ["Foreign.Concurrent", "System.Process"] forGHCBuild :: String -> Bool forGHCBuild = ("GHC.Prim" /=)