Revert "csdp: move gfortran to nativeBuildInputs"

We are not using gfortran as a native binary; we are using its lib.

Fixes build on darwin.

This reverts commit eabbf45b60.
This commit is contained in:
Ryan Burns 2021-09-19 02:31:26 -07:00
parent 7f59b4b529
commit b23afbb866

View file

@ -8,9 +8,7 @@ stdenv.mkDerivation {
sha256 = "1f9ql6cjy2gwiyc51ylfan24v1ca9sjajxkbhszlds1lqmma8n05";
};
nativeBuildInputs = [ gfortran ];
buildInputs = [ blas lapack ];
buildInputs = [ blas gfortran.cc.lib lapack ];
postPatch = ''
substituteInPlace Makefile --replace /usr/local/bin $out/bin