git.iko.soy/typeable/cabal2nix
on master help sign in
Reduce set of filtered core packages to those that cannot be found on Hackage.
94ab72ePeter Simons
src/Cabal2Nix/CorePackages.hs+8−29
@@ -8,36 +8,15 @@ module Cabal2Nix.CorePackages ( corePackages, coreBuildTools ) where
8-- The commented packages have previously been non-core, so we don't filter
8-- The commented packages have previously been non-core, so we don't filter
9-- them.
9-- them.
10corePackages :: [String]
10corePackages :: [String]
11−corePackages = [
11+corePackages =
12− "array",
12+ [ "ghc"
13− "base",
13+ , "ghc-prim"
14− "bin-package-db",
14+ , "bin-package-db"
15− "bytestring",
15+ , "rts"
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"
37 ]
16 ]
38
17
39coreBuildTools :: [String]
18coreBuildTools :: [String]
40−coreBuildTools = [
19+coreBuildTools =
41− "ghc",
20+ [ "ghc"
42− "hsc2hs"
21+ , "hsc2hs"
43 ]
22 ]