Fix CodingStyle#Warnings URLs
[ghc-hetmet.git] / compiler / main / PackageConfig.hs
index bfd2f34..d195f6c 100644 (file)
@@ -2,6 +2,13 @@
 -- (c) The University of Glasgow, 2004
 --
 
+{-# OPTIONS -w #-}
+-- The above warning supression flag is a temporary kludge.
+-- While working on this module you are encouraged to remove it and fix
+-- any warnings in the module. See
+--     http://hackage.haskell.org/trac/ghc/wiki/Commentary/CodingStyle#Warnings
+-- for details
+
 module PackageConfig (
        -- * PackageId
        PackageId, 
@@ -20,6 +27,7 @@ module PackageConfig (
        rtsPackageId,
        haskell98PackageId,
        thPackageId,
+        ndpPackageId,
        mainPackageId
   ) where
 
@@ -29,7 +37,7 @@ import Distribution.InstalledPackageInfo
 import Distribution.Package
 import Distribution.Version
 import FastString
-import Text.ParserCombinators.ReadP ( readP_to_S )
+import Distribution.Compat.ReadP ( readP_to_S )
 
 -- -----------------------------------------------------------------------------
 -- Our PackageConfig type is just InstalledPackageInfo from Cabal.  Later we
@@ -105,6 +113,7 @@ basePackageId      = fsToPackageId FSLIT("base")
 rtsPackageId      = fsToPackageId FSLIT("rts")
 haskell98PackageId = fsToPackageId FSLIT("haskell98")
 thPackageId        = fsToPackageId FSLIT("template-haskell")
+ndpPackageId       = fsToPackageId FSLIT("ndp")
 
 -- This is the package Id for the program.  It is the default package
 -- Id if you don't specify a package name.  We don't add this prefix