patch applied (cabal-install): Generalise the way preferences are specified to the resolver