update build-shell.nix and add gfortran as extra-libraries

this makes `stack build --nix` work without extra system dependencies
Status Job ID Name Coverage
  Build
failed #818
build

 
Name Stage Failure
failed
build Build There has been a timeout failure or the job got stuck. Check your timeout limits or try again
No job trace