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
commit2433c575f006e82bedf81306b53e7c840a9b4b49
authorMatthew Bauer <mjbauer95@gmail.com>
dateSun 10 Feb 2019, 20:16 (8 years ago)
parentcfc4313
pkgs/development/libraries/science/math/openblas/default.nix+6−2
@@ -102,8 +102,12 @@ stdenv.mkDerivation rec {
102102 "relro" "bindnow"
103103 ];
104104
105− depsBuildBuild = [ buildPackages.stdenv.cc ];
106− nativeBuildInputs = [ perl which gfortran ];
105+ nativeBuildInputs = [
106+ perl
107+ which
108+ buildPackages.gfortran
109+ buildPackages.stdenv.cc
110+ ];
107111
108112 makeFlags = mapAttrsToList (var: val: "${var}=${toString val}") (config // {
109113 FC = "${stdenv.cc.targetPrefix}gfortran";