git.iko.soy/typeable/cabal2nix
on master help sign in
Reduce set of filtered core packages to those that cannot be found on Hackage.
commit94ab72eb4389ca1a615896cd15c037b3856c8a7d authorPeter Simons <simons@cryp.to> dateTue 23 Dec 2014, 22:09 (12 years ago) parente9b2d3d
1 file changed+8−29
src/Cabal2Nix/CorePackages.hs+8−29
src/Cabal2Nix/CorePackages.hs+8−29
@@ -8,36 +8,15 @@ module Cabal2Nix.CorePackages ( corePackages, coreBuildTools ) where
88-- The commented packages have previously been non-core, so we don't filter
99-- them.
1010corePackages :: [String]
11−corePackages = [
12− "array",
13− "base",
14− "bin-package-db",
15− "bytestring",
16− -- "Cabal",
17− "containers",
18− "directory",
19− -- "extensible-exceptions",
20− "ffi",
21− -- "filepath",
22− "ghc",
23− "ghc-binary",
24− "ghc-prim",
25− "haskell2010", -- new as core, but doesn't work in older GHCs anyway
26− "haskell98",
27− "hpc",
28− "integer-gmp",
29− "old-locale",
30− "old-time",
31− "pretty",
32− "process",
33− -- "random",
34− "template-haskell",
35− -- "time",
36− "unix"
11+corePackages =
12+ [ "ghc"
13+ , "ghc-prim"
14+ , "bin-package-db"
15+ , "rts"
3716 ]
3817
3918coreBuildTools :: [String]
40−coreBuildTools = [
41− "ghc",
42− "hsc2hs"
19+coreBuildTools =
20+ [ "ghc"
21+ , "hsc2hs"
4322 ]