jags: move gfortran to nativeBuildInputs

This commit is contained in:
Markus Kowalewski 2021-09-03 13:33:31 +02:00
parent eabbf45b60
commit 74443bc786
No known key found for this signature in database
GPG key ID: 502A248E3FB4FF48

View file

@ -6,7 +6,11 @@ stdenv.mkDerivation rec {
url = "mirror://sourceforge/mcmc-jags/${name}.tar.gz";
sha256 = "1z3icccg2ic56vmhyrpinlsvpq7kcaflk1731rgpvz9bk1bxvica";
};
buildInputs = [gfortran blas lapack];
nativeBuildInputs = [ gfortran ];
buildInputs = [ blas lapack ];
configureFlags = [ "--with-blas=-lblas" "--with-lapack=-llapack" ];
meta = with lib; {