until -package:base -package:Cabal -package:extra package:basic-prelude -is:exact

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