hackage4nix.hs: don't re-generate broken packages
commit40dc8108fd0637ea76924cd08abb47a77d7cce85
authorPeter Simons <simons@cryp.to>
dateSat 9 Aug 2014, 11:51 (12 years ago)
parentd03dac6
src/hackage4nix.hs+1−1
@@ -72,7 +72,7 @@ discoverNixFiles yield dirOrFile = do
7272 (False,_) -> io (readDirectory dirOrFile) >>= mapM_ (discoverNixFiles yield . (dirOrFile </>))
7373
7474regenerateDerivation :: Derivation -> String -> Bool
75−regenerateDerivation _ buf = not (buf =~ "(pre|post)Configure|(pre|post)Install|patchPhase|patches")
75+regenerateDerivation _ buf = not (buf =~ "(pre|post)Configure|(pre|post)Install|patchPhase|patches|broken")
7676
7777parseNixFile :: FilePath -> String -> Hackage4Nix (Maybe Pkg)
7878parseNixFile path buf