From 070d43bcb2e4f9bd7d3a7ffb87f096b1cf8f795d Mon Sep 17 00:00:00 2001 From: lukasepple Date: Fri, 6 Aug 2021 03:13:30 +0200 Subject: [PATCH] haskellPackages.blas-hs: fix on darwin by providing Accelerate --- pkgs/development/haskell-modules/configuration-darwin.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-darwin.nix b/pkgs/development/haskell-modules/configuration-darwin.nix index 4c0b491ccd6..c18edd8cc14 100644 --- a/pkgs/development/haskell-modules/configuration-darwin.nix +++ b/pkgs/development/haskell-modules/configuration-darwin.nix @@ -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 = [];