openblas: fix on linux

This reverse changes made cfc4313 which broke builds on linux. Still
not sure why this broke Linux, but we can investigate it later.
“buildPackages.stdenv.cc” shouldn’t be put in nativeBuildInputs in
general. Either way, this restores hashes to before that commit.

thanks to @jethrokuan
This commit is contained in:
Matthew Bauer 2019-02-10 20:16:16 -05:00
parent cfc43138cb
commit 2433c575f0

View File

@ -102,8 +102,12 @@ stdenv.mkDerivation rec {
"relro" "bindnow"
];
depsBuildBuild = [ buildPackages.stdenv.cc ];
nativeBuildInputs = [ perl which gfortran ];
nativeBuildInputs = [
perl
which
buildPackages.gfortran
buildPackages.stdenv.cc
];
makeFlags = mapAttrsToList (var: val: "${var}=${toString val}") (config // {
FC = "${stdenv.cc.targetPrefix}gfortran";