git.iko.soy/typeable/cabal2nix
on master help sign in
Hackage4Nix.hs: issue a warning for packages that have no maintainer
commiteb5c745bdc291f37d1effc265f93bfcc3dde3fbd authorPeter Simons <simons@cryp.to> dateTue 9 Aug 2011, 13:51 (15 years ago) parentfe96613
1 file changed+1
src/Hackage4Nix.hs+1
src/Hackage4Nix.hs+1
@@ -165,6 +165,7 @@ updateNixPkgs paths = do
165165 | null plats && not (null maints) = ["self.ghc.meta.platforms"]
166166 | otherwise = plats
167167 msgDebug ("re-generate " ++ path)
168+ when (null maints) (msgInfo ("warning: no maintainers configured for " ++ path))
168169 pkg <- readCabalFile name vers
169170 io $ writeFile path (showNixPkg (cabal2nix pkg sha plats' maints))
170171 modify $ \cfg -> cfg { _pkgset = Set.insert nix (_pkgset cfg) }