From ea113b94f4fb737e86da79ced3c254a4513aac2b Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Tue, 14 Feb 2023 15:33:04 +0100 Subject: [PATCH] haskellPackages.hmidi: provide necessary frameworks on darwin --- pkgs/development/haskell-modules/configuration-darwin.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-darwin.nix b/pkgs/development/haskell-modules/configuration-darwin.nix index 2ea7f41ed79f..03ef34510bb3 100644 --- a/pkgs/development/haskell-modules/configuration-darwin.nix +++ b/pkgs/development/haskell-modules/configuration-darwin.nix @@ -40,6 +40,13 @@ self: super: ({ darwin.apple_sdk.frameworks.ApplicationServices ] super.apecs-physics; + # Framework deps are hidden behind a flag + hmidi = addExtraLibraries [ + darwin.apple_sdk.frameworks.CoreFoundation + darwin.apple_sdk.frameworks.CoreAudio + darwin.apple_sdk.frameworks.CoreMIDI + ] super.hmidi; + # "erf table" test fails on Darwin # https://github.com/bos/math-functions/issues/63 math-functions = dontCheck super.math-functions;