patch applied (cabal-install): New interface to the dep resolver that allows modular policy construction