git.iko.soy/typeable/cabal2nix
on master help sign in
Rename brokenPackages to dontDistributePackages in Configuration.hs.

Broken packages are ones where we set "meta.broken = true", and we don't do that for these packages.

commit5da2d35f177e56868763db761b52a6c315fc08fd authorPeter Simons <simons@cryp.to> dateFri 28 Aug 2015, 10:54 (11 years ago) parentcb93d23
2 files changed+5−5
src/Distribution/Nixpkgs/Haskell/FromCabal/Configuration.hs+4−4 src/Distribution/Nixpkgs/Haskell/FromCabal/Configuration/GHC7102.hs+1−1
src/Distribution/Nixpkgs/Haskell/FromCabal/Configuration.hs+4−4
@@ -38,9 +38,9 @@ data Configuration = Configuration
3838 -- role during dependency resolution.
3939 , extraPackages :: [Constraint]
4040
41− -- |These packages have not succeeded a build yet, so we give them an
42− -- empty meta.hydraPlatforms attribute to avoid cluttering our Hydra
43− -- output with lots of broken builds.
44− , brokenPackages :: Set PackageName
41+ -- |We know that these packages won't build, so we give them an empty
42+ -- meta.hydraPlatforms attribute to avoid cluttering our Hydra output with
43+ -- lots of failure messages.
44+ , dontDistributePackages :: Set PackageName
4545 }
4646 deriving (Show)
src/Distribution/Nixpkgs/Haskell/FromCabal/Configuration/GHC7102.hs+1−1
@@ -72,7 +72,7 @@ ghc7102 = Configuration
7272 , "zlib < 0.6" -- newer versions break cabal-install
7373 ]
7474
75− , brokenPackages = Set.fromList $ map PackageName
75+ , dontDistributePackages = Set.fromList $ map PackageName
7676 [ "3dmodels"
7777 , "4Blocks"
7878 , "abcBridge"