Civillian reactor were supplied much later, in late 90s and early 2000's.
In late 80s Chinese supplied Pakistan with certain components(magnetic suspension bearing) for Uranium enrichment centrifuges in addition to blue prints for atomic bombs , which were the very same weapons , which China had tested in its 1964 tests and were of proven design.
AQ khan who is popularly know as the father Pakistani Nuclear bomb was surprisingly not even a nuclear physicist, but was just a metallurgist.
His most significant contribution towards Pakistani nuclear weapons programme, was getting his hands on Dutch blue prints of its Uranium centrifuges, and then selling the same centrifuges, atom bomb blue prints (the same ones which China had transferred to Pakistan) to Libya, North Korea and Iran.
When US dismantled Libyan nuclear weapons program in early 2000s , they found Uranium centrifuges which were made in Pakistan and atomic bomb design written in Chinese.
Little known fact is when ZA Bhutto declared his intention to build Islamic bomb in 1974, Libya under Gaddafi donated Pakistan $500 million as seed money for the bomb.
Similarly IAEA when inspecting Iranian centrifuges in early 2000s found Uranium dust which was enriched to weapons grade - 90 percent . When grilled, on why Iran had been producing weapons grade Uranium.
Iranian spilled the beans that these centrifuges had been bought from Pakistan from khan research Laboratories and the Uranium dust is left over from Pakistani usage.
You should do your research, the facts i have stated are common knowledge now.