[Hackage] #931: Support building source trees with many packages