CVS and Walmart are cutting back pharmacy hours due to a shortage of pharmacists.