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:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user