/usr/include/erl_nif.h is in erlang-dev 1:20.2.2+dfsg-1ubuntu2.
This file is owned by root:root, with mode 0o777.
It is a symlink to /usr/include/../lib/erlang/usr/include/erl_nif.h
/usr/include/../lib/erlang/usr/include/erl_nif.h