···6363 # sometimes fail due to this
6464 checkFlagsArray = [ "ARGS=--timeout 10000" ];
65656666+ postFixup = ''
6767+ # _IMPORT_PREFIX, used to point to lib, points to dev output. Every package using the generated
6868+ # cmake file will thus look for the library in the dev output instead of out.
6969+ # Use the absolute path to $out instead to fix the issue.
7070+ substituteInPlace $dev/lib/cmake/scalapack-${version}/scalapack-targets-release.cmake \
7171+ --replace "\''${_IMPORT_PREFIX}" "$out"
7272+ '';
7373+6674 meta = with lib; {
6775 homepage = "http://www.netlib.org/scalapack/";
6876 description = "Library of high-performance linear algebra routines for parallel distributed memory machines";