haskellPackages.streamly_0_8_0: provide new dep Cocoa on darwin

This commit is contained in:
sternenseemann 2021-11-09 12:47:35 +01:00
parent e1766085b3
commit d25b3d60af

View file

@ -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