git.iko.soy/typeable/cabal2nix
on master help sign in
Do not filter time and extensible-exception as core packages.
commit9ea9153d191723de1c0d2bf6aad25cf78ae78218 authorAndres Loeh <mail@andres-loeh.de> dateMon 8 Aug 2011, 20:24 (15 years ago) parent2f675aa
1 file changed+6−3
src/Cabal2Nix/CorePackages.hs+6−3
src/Cabal2Nix/CorePackages.hs+6−3
@@ -4,6 +4,9 @@ module Cabal2Nix.CorePackages ( corePackages, coreBuildTools ) where
44-- nixpkgs. This should probably be configurable at first. Later, it might
55-- be good to actually include them as dependencies, but set them to null
66-- if GHC provides them (as different GHC versions vary).
7+--
8+-- The commented packages have previously been non-core, so we don't filter
9+-- them.
710corePackages :: [String]
811corePackages = [
912 "array",
@@ -13,13 +16,13 @@ corePackages = [
1316 "Cabal",
1417 "containers",
1518 "directory",
16− "extensible-exceptions",
19+ -- "extensible-exceptions",
1720 "ffi",
1821 "filepath",
1922 "ghc",
2023 "ghc-binary",
2124 "ghc-prim",
22− "haskell2010",
25+ "haskell2010", -- new as core, but doesn't work in older GHCs anyway
2326 "haskell98",
2427 "hpc",
2528 "integer-gmp",
@@ -29,7 +32,7 @@ corePackages = [
2932 "process",
3033 "random",
3134 "template-haskell",
32− "time",
35+ -- "time",
3336 "unix"
3437 ]
3538