about summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/configuration-darwin.nix
diff options
context:
space:
mode:
authorsternenseemann <sternenseemann@systemli.org>2023-02-14 15:33:04 +0100
committersternenseemann <sternenseemann@systemli.org>2023-02-15 00:47:32 +0100
commitea113b94f4fb737e86da79ced3c254a4513aac2b (patch)
tree6dd68c825929315ab7e8da654e13c9ef816e0897 /pkgs/development/haskell-modules/configuration-darwin.nix
parentc0d7cc23b465b41d2b0faf6ce2d663323aeda0f1 (diff)
haskellPackages.hmidi: provide necessary frameworks on darwin
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-darwin.nix')
-rw-r--r--pkgs/development/haskell-modules/configuration-darwin.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-darwin.nix b/pkgs/development/haskell-modules/configuration-darwin.nix
index 2ea7f41ed79fa..03ef34510bb3d 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;