haskellPackages.OpenAL: link with the OpenAL framework on Darwin (#70150)
* haskellPackages.OpenAL: link with the OpenAL framework on Darwin The missing framework caused a build failure on Darwin. Fixes #68306.
This commit is contained in:
parent
6b8400381c
commit
0b1fb4f2d2
@ -99,6 +99,11 @@ self: super: builtins.intersectAttrs super {
|
|||||||
|
|
||||||
niv = enableSeparateBinOutput super.niv;
|
niv = enableSeparateBinOutput super.niv;
|
||||||
|
|
||||||
|
# Ensure the necessary frameworks for Darwin.
|
||||||
|
OpenAL = if pkgs.stdenv.isDarwin
|
||||||
|
then addExtraLibrary super.OpenAL pkgs.darwin.apple_sdk.frameworks.OpenAL
|
||||||
|
else super.OpenAL;
|
||||||
|
|
||||||
ghcid = enableSeparateBinOutput super.ghcid;
|
ghcid = enableSeparateBinOutput super.ghcid;
|
||||||
|
|
||||||
hzk = overrideCabal super.hzk (drv: {
|
hzk = overrideCabal super.hzk (drv: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user