diff --git a/pkgs/development/compilers/gcc/gfortran-darwin.nix b/pkgs/development/compilers/gcc/gfortran-darwin.nix index 954b236ff6f..bd11b1ebc8e 100644 --- a/pkgs/development/compilers/gcc/gfortran-darwin.nix +++ b/pkgs/development/compilers/gcc/gfortran-darwin.nix @@ -17,6 +17,7 @@ stdenv.mkDerivation rec { --with-mpc=${libmpc} ''; makeFlags = ["CC=clang"]; + passthru.cc = stdenv.cc.cc; meta = with stdenv.lib; { description = "GNU Fortran compiler, part of the GNU Compiler Collection."; homepage = "https://gcc.gnu.org/fortran/";