@@ -106,6 +106,8 @@ parseNixFile path buf
106 = msgDebug ("ignore known bad package " ++ path) >> return Nothing
106 = msgDebug ("ignore known bad package " ++ path) >> return Nothing
107 | True <- buf `regmatch` "src = (fetchgit|sourceFromHead)"
107 | True <- buf `regmatch` "src = (fetchgit|sourceFromHead)"
108 = msgDebug ("ignore non-hackage package " ++ path) >> return Nothing
108 = msgDebug ("ignore non-hackage package " ++ path) >> return Nothing
109+ | True <- buf `regmatch` "(patchPhase|configureFlags) ="
110+ = msgDebug ("ignore patched package " ++ path) >> return Nothing
109 | True <- buf `regmatch` "noHaddock"
111 | True <- buf `regmatch` "noHaddock"
110 = msgDebug ("ignore non-haddock package " ++ path) >> return Nothing
112 = msgDebug ("ignore non-haddock package " ++ path) >> return Nothing
111 | True <- buf =~ pack "cabal.mkDerivation"
113 | True <- buf =~ pack "cabal.mkDerivation"