nix-diff: fix build

This commit is contained in:
Domen Kožar
2023-01-07 09:34:44 +00:00
parent 33be6f87f2
commit 316f093b4e
@@ -800,6 +800,14 @@ self: super: builtins.intersectAttrs super {
# time
random = dontCheck super.random;
# https://github.com/Gabriella439/nix-diff/pull/74
nix-diff = overrideCabal (drv: {
postPatch = ''
substituteInPlace src/Nix/Diff/Types.hs \
--replace "{-# OPTIONS_GHC -Wno-orphans #-}" "{-# OPTIONS_GHC -Wno-orphans -fconstraint-solver-iterations=0 #-}"
'';
}) (doJailbreak (dontCheck super.nix-diff));
# mockery's tests depend on hspec-discover which dependso on mockery for its tests
mockery = dontCheck super.mockery;
# same for logging-facade