Supporting information: this article has supporting information at journals.iucr.org/c Crystal structures, packing features, Hirshfeld surface analyses and DFT calculations of hydrogenbond energy of two homologous 8a-aryl-2, 3,4,7,8,8a-hexahydropyrrolo[1,2-a]pyrimidin-6(1H)-ones