lol

scalapack: fix generated cmake files

cmake files pointed to libscalpack.so in $dev output instead of $out.

+8
+8
pkgs/development/libraries/science/math/scalapack/default.nix
··· 63 63 # sometimes fail due to this 64 64 checkFlagsArray = [ "ARGS=--timeout 10000" ]; 65 65 66 + postFixup = '' 67 + # _IMPORT_PREFIX, used to point to lib, points to dev output. Every package using the generated 68 + # cmake file will thus look for the library in the dev output instead of out. 69 + # Use the absolute path to $out instead to fix the issue. 70 + substituteInPlace $dev/lib/cmake/scalapack-${version}/scalapack-targets-release.cmake \ 71 + --replace "\''${_IMPORT_PREFIX}" "$out" 72 + ''; 73 + 66 74 meta = with lib; { 67 75 homepage = "http://www.netlib.org/scalapack/"; 68 76 description = "Library of high-performance linear algebra routines for parallel distributed memory machines";