until -package:foundation -package:base-prelude -is:exact is:exact package:cabal-install-solver

until p f yields the result of applying f until p holds.