patch applied (cabal-install): Change resolveDependencies to take OS and Arch as parameters