The actress earned her second Academy Award nomination for her role in the film.