The prison , on the outskirts of Kabul , is used to house inmates held for criminal offenses .