Shared libgfortran missing from

I am trying to build a mixed-language project that links some Fortran components.

  • nix-shell -p gfortran gives me the compiler, but not the Fortran runtime libraries.
  • nix-shell -p gives me the compiler and the runtime libraries. The latter only in the static version.

Is there a way to get the shared version? Thanks in advance!

Maybe it is too late. however recently I meet similar problem. According to this file, you can replace with