@@ -49,6 +49,7 @@ data Meta = Meta
4949 , platforms :: [String] -- ^ list of supported platforms (from @pkgs\/lib\/platforms.nix@)
5050 , hydraPlatforms :: [String] -- ^ list of platforms built by Hydra (from @pkgs\/lib\/platforms.nix@)
5151 , maintainers :: [String] -- ^ list of maintainers from @pkgs\/lib\/maintainers.nix@
52+ , broken :: Bool -- ^ set to @true@ if the build is known to fail
5253 }
5354 deriving (Show, Eq, Ord)
5455
@@ -57,7 +58,7 @@ instance Text Meta where
5758 parse = error "parsing Distribution.NixOS.Derivation.Cabal.Meta is not supported yet"
5859
5960instance NFData Meta where
60− rnf (Meta a b c d e f) = a `deepseq` b `deepseq` c `deepseq` d `deepseq` e `deepseq` f `deepseq` ()
61+ rnf (Meta a b c d e f g) = a `deepseq` b `deepseq` c `deepseq` d `deepseq` e `deepseq` f `deepseq` g `deepseq` ()
6162
6263renderMeta :: Meta -> Doc
6364renderMeta meta = vcat
@@ -69,6 +70,7 @@ renderMeta meta = vcat
6970 , onlyIf (not (null (hydraPlatforms meta))) $ sep
7071 [ text "hydraPlatforms" <+> equals, renderPlatformList (hydraPlatforms meta) ]
7172 , listattr "maintainers" (text "with self.stdenv.lib.maintainers;") (maintainers meta)
73+ , boolattr "broken" (broken meta) (broken meta)
7274 ]
7375
7476renderPlatformList :: [String] -> Doc