Akademik

there is nothing (else) for it (but to do something)
there is/was nothing (else) ˈfor it (but to do sth) idiom
there is no other action to take except the one mentioned

There was nothing else for it but to resign.

Main entry:nothingidiom

Useful english dictionary. 2012.