Arduino IDE does not detect st-link

Hi, I'm trying to use the Arduino IDE to program a blue pill stm32 mcu using the st-link v2 dongle under Arch Linux.
I have installed st-link package along with the udev rules, I have the board listed and detected in the IDE but on the "upload method" menu I can't see the st-link. What can I do about it?