haskellPackages.mockery: fix build on darwin

This commit is contained in:
Mario Rodas 2020-07-05 04:20:00 -05:00
parent b1f5e293cb
commit f25f7eb7f3
No known key found for this signature in database
GPG Key ID: 325649BCA6D53027

View File

@ -312,6 +312,9 @@ self: super: {
memcache = dontCheck super.memcache;
metrics = dontCheck super.metrics;
milena = dontCheck super.milena;
mockery = if pkgs.stdenv.isDarwin
then overrideCabal super.mockery (drv: { preCheck = "export TRAVIS=true"; }) # darwin doesn't have sub-second resolution https://github.com/hspec/mockery/issues/11
else super.mockery;
modular-arithmetic = dontCheck super.modular-arithmetic; # tests require a very old Glob (0.7.*)
nats-queue = dontCheck super.nats-queue;
netpbm = dontCheck super.netpbm;