about summary refs log tree commit diff
path: root/pkgs/top-level/ocaml-packages.nix
diff options
context:
space:
mode:
authorWeijia Wang <9713184+wegank@users.noreply.github.com>2023-01-30 08:30:29 +0100
committerWeijia Wang <9713184+wegank@users.noreply.github.com>2023-01-30 08:30:29 +0100
commit605704fa22255fa2f64348cf2fe083d1a1140fca (patch)
tree4a44425644beca2afe99d218999c4ccee644c585 /pkgs/top-level/ocaml-packages.nix
parent99f5676ba0a0c2d7605b63b2dd1b146c384f42dd (diff)
ocamlPackages.tsdl: fix build on darwin
Diffstat (limited to 'pkgs/top-level/ocaml-packages.nix')
-rw-r--r--pkgs/top-level/ocaml-packages.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/top-level/ocaml-packages.nix b/pkgs/top-level/ocaml-packages.nix
index 03bd642550f18..301495961e334 100644
--- a/pkgs/top-level/ocaml-packages.nix
+++ b/pkgs/top-level/ocaml-packages.nix
@@ -1477,7 +1477,9 @@ let
 
     trie = callPackage ../development/ocaml-modules/trie { };
 
-    tsdl = callPackage ../development/ocaml-modules/tsdl { };
+    tsdl = callPackage ../development/ocaml-modules/tsdl {
+      inherit (pkgs.darwin.apple_sdk.frameworks) AudioToolbox Cocoa CoreAudio CoreVideo ForceFeedback;
+    };
 
     tsdl-image = callPackage ../development/ocaml-modules/tsdl-image { };