patch applied (cabal): Detect broken and inconsistent package deps