Merge pull request #70152 from mujx/proteaaudio-override

haskellPackages.proteaaudio: link with the AudioToolbox framework on Darwin
This commit is contained in:
Peter Simons 2019-10-07 14:36:36 +02:00 committed by GitHub
commit f6f043f72c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -104,6 +104,11 @@ self: super: builtins.intersectAttrs super {
then addExtraLibrary super.OpenAL pkgs.darwin.apple_sdk.frameworks.OpenAL
else super.OpenAL;
# Ensure the necessary frameworks for Darwin.
proteaaudio = if pkgs.stdenv.isDarwin
then addExtraLibrary super.proteaaudio pkgs.darwin.apple_sdk.frameworks.AudioToolbox
else super.proteaaudio;
ghcid = enableSeparateBinOutput super.ghcid;
hzk = overrideCabal super.hzk (drv: {