git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #11028 from ryantrinkle/hmatrix-darwin

Add Accelerate framework dependency to hmatrix on darwin

commitaca337767208dff534c46d10878ed22b561c0a65 authorArseniy Seroka <jagajaga@users.noreply.github.com> dateMon 16 Nov 2015, 18:19 (11 years ago) parent0ceda1190d5d31
1 file changed+4
pkgs/development/haskell-modules/configuration-common.nix+4
pkgs/development/haskell-modules/configuration-common.nix+4
@@ -708,6 +708,10 @@ self: super: {
708708 then addBuildDepend super.yesod-bin pkgs.darwin.apple_sdk.frameworks.Cocoa
709709 else super.yesod-bin;
710710
711+ hmatrix = if pkgs.stdenv.isDarwin
712+ then addBuildDepend super.hmatrix pkgs.darwin.apple_sdk.frameworks.Accelerate
713+ else super.hmatrix;
714+
711715 # https://github.com/commercialhaskell/stack/issues/408
712716 # https://github.com/commercialhaskell/stack/issues/409
713717 stack = overrideCabal super.stack (drv: { preCheck = "export HOME=$TMPDIR"; doCheck = false; });