git.iko.soy/typeable/cabal2nix
on master help sign in
Hackage4Nix.hs: consider files for updating regardless of how they fetch their sources

Just because a particular version of package is being fetched from Github, it doesn't mean that future versions won't appear on Hackage that we might want to update to.

commit37e56e83feaefa283ff9cab854cfe13f01a8cde8 authorPeter Simons <simons@cryp.to> dateFri 12 Apr 2013, 22:03 (14 years ago) parentc5a573b
1 file changed−2
src/Hackage4Nix.hs−2
src/Hackage4Nix.hs−2
@@ -79,8 +79,6 @@ parseNixFile path buf
7979 = msgDebug ("ignore non-cabal package " ++ path) >> return Nothing
8080 | any (`isSuffixOf`path) badPackagePaths
8181 = msgDebug ("ignore known bad package " ++ path) >> return Nothing
82− | buf =~ "src = (fetchurl|fetchgit|sourceFromHead)"
83− = msgDebug ("ignore non-hackage package " ++ path) >> return Nothing
8482 | Just deriv <- parseDerivation buf
8583 = return (Just (Pkg deriv path (regenerateDerivation deriv buf)))
8684 | otherwise = msgInfo ("failed to parse file " ++ path) >> return Nothing