diff options
author | Peter Simons <simons@cryp.to> | 2019-10-07 14:36:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-07 14:36:36 +0200 |
commit | f6f043f72c6e3bf520cc89afc97e7f7b55449c18 (patch) | |
tree | 3e691aef2379e70b9db4c55ab6817fffc323008d /pkgs/development | |
parent | 9011c484b8c604bde338b964cd5a3cfc429d6192 (diff) | |
parent | c4a42a726d049244b3b6eee789d78cc048a74cf4 (diff) |
Merge pull request #70152 from mujx/proteaaudio-override
haskellPackages.proteaaudio: link with the AudioToolbox framework on Darwin
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/haskell-modules/configuration-nix.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-nix.nix b/pkgs/development/haskell-modules/configuration-nix.nix index acab791e9639f..81662b4e9daa8 100644 --- a/pkgs/development/haskell-modules/configuration-nix.nix +++ b/pkgs/development/haskell-modules/configuration-nix.nix @@ -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: { |