diff options
author | Ryan Trinkle <ryan.trinkle@gmail.com> | 2015-11-15 14:57:58 -0500 |
---|---|---|
committer | Ryan Trinkle <ryan.trinkle@gmail.com> | 2015-11-15 14:57:58 -0500 |
commit | 90d5d315af098ab63c00ebad7003ca89c9341293 (patch) | |
tree | 075d9dafeac9e15b2bfae796ba8f63609799bc61 /pkgs/development/haskell-modules/configuration-common.nix | |
parent | c14eca68a4e49d6aa89e69535292f12c84cea0a7 (diff) | |
download | nixlib-90d5d315af098ab63c00ebad7003ca89c9341293.tar nixlib-90d5d315af098ab63c00ebad7003ca89c9341293.tar.gz nixlib-90d5d315af098ab63c00ebad7003ca89c9341293.tar.bz2 nixlib-90d5d315af098ab63c00ebad7003ca89c9341293.tar.lz nixlib-90d5d315af098ab63c00ebad7003ca89c9341293.tar.xz nixlib-90d5d315af098ab63c00ebad7003ca89c9341293.tar.zst nixlib-90d5d315af098ab63c00ebad7003ca89c9341293.zip |
hmatrix: fix missing Accelerate framework dependency on darwin
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-common.nix')
-rw-r--r-- | pkgs/development/haskell-modules/configuration-common.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 1713cfdb44ce..edafbe5eab6e 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -708,6 +708,10 @@ self: super: { then addBuildDepend super.yesod-bin pkgs.darwin.apple_sdk.frameworks.Cocoa else super.yesod-bin; + hmatrix = if pkgs.stdenv.isDarwin + then addBuildDepend super.hmatrix pkgs.darwin.apple_sdk.frameworks.Accelerate + else super.hmatrix; + # https://github.com/commercialhaskell/stack/issues/408 # https://github.com/commercialhaskell/stack/issues/409 stack = overrideCabal super.stack (drv: { preCheck = "export HOME=$TMPDIR"; doCheck = false; }); |