haskellPackages.warp: skip tests on darwin due to sandbox
Warp has been failing to build in the darwin sandbox for a long time, because of some failing tests, even with local networking enabled. This does not surface when using it from the cache, because hydra builds without sandbox. But for development / nixpkgs-review, this is heavily annoying. Disabling these two tests makes the build pass on the community builder for me.
This commit is contained in:
@@ -294,6 +294,12 @@ self: super:
|
||||
|
||||
warp = overrideCabal (drv: {
|
||||
__darwinAllowLocalNetworking = true;
|
||||
# These fail in darwin sandbox with:
|
||||
# Network.SendFile.MacOS.sendloopHeader: permission denied (Operation not permitted)
|
||||
testFlags = drv.testFlags or [ ] ++ [
|
||||
"--skip=/Response/range requests/"
|
||||
"--skip=/Response/partial files/"
|
||||
];
|
||||
}) super.warp;
|
||||
|
||||
ghcjs-dom-hello = overrideCabal (drv: {
|
||||
|
||||
Reference in New Issue
Block a user