From e6bb9a1e55ceef1d987603cba73364a56220bc7e Mon Sep 17 00:00:00 2001 From: qbisi Date: Tue, 23 Sep 2025 15:43:46 +0800 Subject: [PATCH] scalapack: propagate blas and lapack propagation of blas and lapack is required by scalapack.pc. --- pkgs/by-name/sc/scalapack/package.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/sc/scalapack/package.nix b/pkgs/by-name/sc/scalapack/package.nix index 8b1952822fb2..9954463fe830 100644 --- a/pkgs/by-name/sc/scalapack/package.nix +++ b/pkgs/by-name/sc/scalapack/package.nix @@ -57,12 +57,14 @@ stdenv.mkDerivation (finalAttrs: { ]; nativeBuildInputs = [ cmake ]; + nativeCheckInputs = [ mpiCheckPhaseHook ]; - buildInputs = [ + + propagatedBuildInputs = [ blas lapack + mpi ]; - propagatedBuildInputs = [ mpi ]; # xslu and xsllt tests seem to time out on x86_64-darwin. # this line is left so those who force installation on x86_64-darwin can still build