haskellPackages.al: fix build on darwin by providing OpenAL

This commit is contained in:
sternenseemann 2021-08-06 02:50:09 +02:00 committed by sternenseemann
parent b1af7b37d5
commit 2b5949d67d

View file

@ -58,6 +58,12 @@ self: super: {
OpenAL = addExtraLibrary super.OpenAL darwin.apple_sdk.frameworks.OpenAL;
al = overrideCabal super.al (drv: {
libraryFrameworkDepends = [
darwin.apple_sdk.frameworks.OpenAL
] ++ (drv.libraryFrameworkDepends or []);
});
proteaaudio = addExtraLibrary super.proteaaudio darwin.apple_sdk.frameworks.AudioToolbox;
# the system-fileio tests use canonicalizePath, which fails in the sandbox