-- (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,
rtsPackageId,
haskell98PackageId,
thPackageId,
+ ndpPackageId,
mainPackageId
) where
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
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