anchor.diff:        "INTERFACE64=${if blas64 then "1" else "0"}"
       ];
   
  -  blas64 = if blas64Orig != null then blas64Orig else hasPrefix "x86_64" stdenv.system;
  +  doCheck = true;
  +  checkTarget = "tests";
   
     meta = with stdenv.lib; {
       description = "Basic Linear Algebra Subprograms";
  
positive.code:       ];
      localFlags = config.openblas.flags or
        optionals (hasAttr "target" config.openblas) [ "TARGET=${config.openblas.target}" ];
      blas64Orig = blas64;
  in
  stdenv.mkDerivation rec {
    version = "0.2.14";
  
    name = "openblas-${version}";
    src = fetchurl {
      url = "https://github.com/xianyi/OpenBLAS/tarball/v${version}";
      sha256 = "0av3pd96j8rx5i65f652xv9wqfkaqn0w4ma1gvbyz73i6j2hi9db";
      name = "openblas-${version}.tar.gz";
    };
  
    preBuild = "cp ${liblapack.src} lapack-${liblapack.meta.version}.tgz";
  
  
negative.code: }:
  
  with stdenv.lib;
  
  let blas64_ = blas64; in
  
  let local = config.openblas.preferLocalBuild or false;
      binary =
  