Le Potato won't boot after installing WireGuard

After installing the wireguard package via apt, then rebooting the device, it hangs after detecting USB devices and won’t boot. Any ideas how to get wireguard installed without crashing it? I had to re-flash the SD card after attempting this.

Logs? Wireguard should have no effect on the OS.

The issue was that wireguard is already installed on the stock distro (and I was unaware of this), and installing the new version also upgraded the kernel to a newer version which is not supported on the Le Potato. Using the stock wireguard installation is the answer in this case.