Commit 228da6fe authored by Andrey Mokhov's avatar Andrey Mokhov
Browse files

Remove parallel, stm, random, primitive, vector and dph from Stage1 packages,...

Remove parallel, stm, random, primitive, vector and dph from Stage1 packages, drop integerGmp2 support.
parent 49574e62
...@@ -29,12 +29,13 @@ packagesStage0 = mconcat ...@@ -29,12 +29,13 @@ packagesStage0 = mconcat
[ append [binPackageDb, binary, cabal, compiler, hoopl, hpc, transformers] [ append [binPackageDb, binary, cabal, compiler, hoopl, hpc, transformers]
, notWindowsHost ? notTargetOs "ios" ? append [terminfo] ] , notWindowsHost ? notTargetOs "ios" ? append [terminfo] ]
-- TODO: what do we do with parallel, stm, random, primitive, vector and dph?
packagesStage1 :: Packages packagesStage1 :: Packages
packagesStage1 = mconcat packagesStage1 = mconcat
[ packagesStage0 [ packagesStage0
, append [ array, base, bytestring, containers, deepseq, directory , append [ array, base, bytestring, containers, deepseq, directory
, filepath, ghcPrim, haskeline, integerLibrary, parallel , filepath, ghcPrim, haskeline, integerLibrary, pretty, process
, pretty, primitive, process, stm, templateHaskell, time ] , templateHaskell, time ]
, windowsHost ? append [win32] , windowsHost ? append [win32]
, notWindowsHost ? append [unix] , notWindowsHost ? append [unix]
, buildHaddock ? append [xhtml] ] , buildHaddock ? append [xhtml] ]
...@@ -43,9 +44,5 @@ knownPackages :: [Package] ...@@ -43,9 +44,5 @@ knownPackages :: [Package]
knownPackages = defaultKnownPackages ++ userKnownPackages knownPackages = defaultKnownPackages ++ userKnownPackages
-- Note: this is slow but we keep it simple as there not too many packages (30) -- Note: this is slow but we keep it simple as there not too many packages (30)
-- We handle integerLibrary in a special way, because packages integerGmp and
-- integerGmp2 have the same package name -- we return the user-selected one.
findKnownPackage :: PackageName -> Maybe Package findKnownPackage :: PackageName -> Maybe Package
findKnownPackage name findKnownPackage name = find (\pkg -> pkgName pkg == name) knownPackages
| name == pkgName integerLibrary = Just integerLibrary
| otherwise = find (\pkg -> pkgName pkg == name) knownPackages
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment