Let $A$ be a local ring with nilpotent maximal ideal $\mathfrak{m}$ (i.e., some power of $\mathfrak{m}$ vanishes), and $M$ an $A$-module (not necessarily finitely generated). Let $\bar{S}\subset M/\mathfrak{m}M$ be a set of generators and $S$ a set of representatives of $\bar{S}$ in $M$. Then is it true that $S$ is a set of generators of $M$? This is a common form of Nakayama's lemma with the assumption of finite generation of $M$ replacing the nilpotence of $\mathfrak{m}$. A passage in Matsumura's book "Commutative Ring Theory" (see Theorem 7.10) seems to imply this result, and I can't figure out why.