I was just able to set this up by looking at their Nix example and swapping out
pkgs.nix
for pkgs.gfortran
then changing the `.replit` file to compile and run a hello world example I found online. Worked great!