haskellPackages.blas-hs: fix on darwin by providing Accelerate

This commit is contained in:
lukasepple 2021-08-06 03:13:30 +02:00 committed by sternenseemann
parent 2b5949d67d
commit 070d43bcb2

View File

@ -106,6 +106,12 @@ self: super: {
hmatrix = addBuildDepend super.hmatrix darwin.apple_sdk.frameworks.Accelerate;
blas-hs = overrideCabal super.blas-hs (drv: {
libraryFrameworkDepends = [
darwin.apple_sdk.frameworks.Accelerate
] ++ (drv.libraryFrameworkDepends or []);
});
# Ensure the necessary frameworks are propagatedBuildInputs on darwin
OpenGLRaw = overrideCabal super.OpenGLRaw (drv: {
librarySystemDepends = [];