Welcome to HCM.
Nail prick in a public carrier is not at all a risk for HIV
. Nobody will get infection in this mode. Even if there is rare chance that it would have pricked a HIV positive individual sometime back and you got pricked afterwards the chances are very remote and almost negligible.
So you need not worry at all.