quantum-espresso: move gfortran to nativeBuildInputs

This commit is contained in:
Markus Kowalewski
2021-09-03 13:33:31 +02:00
parent eecadd3f3b
commit 9eb814fd96
@@ -21,10 +21,12 @@ stdenv.mkDerivation rec {
patchShebangs configure
'';
buildInputs = [ fftw blas lapack gfortran ]
nativeBuildInputs = [ gfortran ];
buildInputs = [ fftw blas lapack ]
++ (lib.optionals useMpi [ mpi ]);
configureFlags = if useMpi then [ "LD=${mpi}/bin/mpif90" ] else [ "LD=${gfortran}/bin/gfortran" ];
configureFlags = if useMpi then [ "LD=${mpi}/bin/mpif90" ] else [ "LD=${gfortran}/bin/gfortran" ];
makeFlags = [ "all" ];