haskellPackages.http2: fix build with Darwin sandbox enabled
This commit is contained in:
parent
15ec108b1d
commit
9b1c02ede8
1 changed files with 6 additions and 0 deletions
|
@ -276,6 +276,12 @@ self: super: ({
|
|||
'' + drv.postPatch or "";
|
||||
}) super.http-client-tls;
|
||||
|
||||
http2 = super.http2.overrideAttrs (drv: {
|
||||
# Allow access to local networking when the Darwin sandbox is enabled, so http2 can run tests
|
||||
# that access localhost.
|
||||
__darwinAllowLocalNetworking = true;
|
||||
});
|
||||
|
||||
foldl = overrideCabal (drv: {
|
||||
postPatch = ''
|
||||
# This comment has been inserted, so the derivation hash changes, forcing
|
||||
|
|
Loading…
Reference in a new issue