haskellPackages.arbtt: pass Foundation on darwin

This commit is contained in:
sternenseemann 2021-05-06 18:02:33 +02:00
parent 6b1ec5695f
commit da347ae251

View File

@ -863,4 +863,10 @@ self: super: builtins.intersectAttrs super {
(lib.optionalAttrs pkgs.stdenv.hostPlatform.isDarwin {
objc = pkgs.darwin.libojc;
});
arbtt = overrideCabal super.arbtt (drv: {
librarySystemDepends = lib.optionals pkgs.stdenv.hostPlatform.isDarwin [
pkgs.darwin.apple_sdk.frameworks.Foundation
] ++ (drv.librarySystemDepends or [])
});
}