pass mirror recursively to dependencies