A Coal Miner's Daughter musical is in the works, with country legend Loretta Lynn announcing that actress and singer Zooey Deschanel will portray her in the Broadway-bound production.

During an appearance at the Grand Ole Opry at Nashville's Ryman Auditorium Thursday night, Lynn shared plans for the forthcoming stage adaptation.

After performing several songs, Lynn invited Deschanel to join her in singing the title tune. The announcement mirrored the way she revealed Sissy Spacek as the star of the Coal Miner's Daughter film in 1979.

"I don't know if y'all remember when Sissy Spacek was with me. I brought her out here with me. She about fainted. We both fainted," Lynn recalled onstage.

"Well, there's a little girl backstage that's going to do the play of Coal Miner's Daughter on Broadway," she continued. "Zooey, where you at, honey?"

Deschanel, who stars in and produces the popular TV sitcom New Girl, is best known for her roles in films like 500 Days of Summer, The Hitchhiker's Guide to the Galaxy and Elf.

As one-half of the musical duo She & Him, Deschanel is also a folk-pop singer and musician. She earned a Grammy nod for the song So Long, from the recent Winnie the Pooh animated film.

"This is a great honour for me. This is my hero," she said of Lynn on Thursday.

Coal Miner's Daughter, which refers to Lynn's impoverished upbringing in rural Kentucky, was initially a hit single for the singer in 1970. It also became the title of her 1976 autobiography as well as the subsequent 1980 film adaptation, which earned Spacek an Oscar for her portrayal of the influential country star.

The musical version will be spearheaded by Fox Theatricals and Scott Sanders Productions, the team behind Broadway's Legally Blonde, The Color Purple and Thoroughly Modern Milly.