diff --git a/pkgs/development/haskell-modules/configuration-nix.nix b/pkgs/development/haskell-modules/configuration-nix.nix index ec9f4285f87..acab791e963 100644 --- a/pkgs/development/haskell-modules/configuration-nix.nix +++ b/pkgs/development/haskell-modules/configuration-nix.nix @@ -99,6 +99,11 @@ self: super: builtins.intersectAttrs super { 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; hzk = overrideCabal super.hzk (drv: {