haskellPackages.yesod-core: fix build with Darwin sandbox enabled

This commit is contained in:
Randy Eckenrode 2023-05-24 19:34:57 -04:00
parent 15ec108b1d
commit 217ed5437c
No known key found for this signature in database
GPG key ID: 64C1CD4EC2A600D9

View file

@ -117,6 +117,12 @@ self: super: ({
yesod-bin = addBuildDepend darwin.apple_sdk.frameworks.Cocoa super.yesod-bin;
yesod-core = super.yesod-core.overrideAttrs (drv: {
# Allow access to local networking when the Darwin sandbox is enabled, so yesod-core can
# run tests that access localhost.
__darwinAllowLocalNetworking = true;
});
hmatrix = addBuildDepend darwin.apple_sdk.frameworks.Accelerate super.hmatrix;
blas-hs = overrideCabal (drv: {