scalapack: use --replace-fail in substituteInPlace

This commit is contained in:
qbisi
2025-09-26 22:24:57 +08:00
parent bb7c2bab61
commit 01c57ded79
+1 -1
View File
@@ -96,7 +96,7 @@ stdenv.mkDerivation (finalAttrs: {
# cmake file will thus look for the library in the dev output instead of out.
# Use the absolute path to $out instead to fix the issue.
substituteInPlace $dev/lib/cmake/scalapack-${finalAttrs.version}/scalapack-targets-release.cmake \
--replace "\''${_IMPORT_PREFIX}" "$out"
--replace-fail "\''${_IMPORT_PREFIX}" "$out"
'';
meta = {