diff options
author | sternenseemann <sternenseemann@systemli.org> | 2021-11-09 12:47:35 +0100 |
---|---|---|
committer | sternenseemann <sternenseemann@systemli.org> | 2021-11-09 13:07:02 +0100 |
commit | d25b3d60af640566067ae44cccdb4aa7370f822c (patch) | |
tree | ccae8ea0300209387299c1eac9430fd97dfbb026 /pkgs/development/haskell-modules/configuration-darwin.nix | |
parent | e1766085b3541a3e68bbfc844e67b27adfb43cea (diff) |
haskellPackages.streamly_0_8_0: provide new dep Cocoa on darwin
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-darwin.nix')
-rw-r--r-- | pkgs/development/haskell-modules/configuration-darwin.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-darwin.nix b/pkgs/development/haskell-modules/configuration-darwin.nix index aeee255674428..2f632c6a90c0f 100644 --- a/pkgs/development/haskell-modules/configuration-darwin.nix +++ b/pkgs/development/haskell-modules/configuration-darwin.nix @@ -249,6 +249,13 @@ self: super: ({ # Otherwise impure gcc is used, which is Apple's weird wrapper c2hsc = addTestToolDepends [ pkgs.gcc ] super.c2hsc; + # streamly depends on Cocoa starting with 0.8.0 + streamly_0_8_0 = overrideCabal (drv: { + libraryFrameworkDepends = [ + darwin.apple_sdk.frameworks.Cocoa + ] ++ (drv.libraryFrameworkDepends or []); + }) super.streamly_0_8_0; + } // lib.optionalAttrs pkgs.stdenv.isAarch64 { # aarch64-darwin # https://github.com/fpco/unliftio/issues/87 |