Skip to content

Commit d902325

Browse files
haskellPackages.ad: disable problematic test on x86_64-darwin
It is somewhat curious that it behaves differently exclusively here, but I don't think it is necessary to stop shipping a package due to floating point arithmetic error—it would be unreasonable to assume there were none… See ekmett/ad#113.
1 parent 7476d0d commit d902325

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

pkgs/development/haskell-modules/configuration-darwin.nix

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -371,4 +371,12 @@ self: super: ({
371371
# same
372372
# https://hydra.nixos.org/build/174540882/nixlog/9
373373
jacinda = dontCheck super.jacinda;
374+
375+
# Greater floating point error on x86_64-darwin (!) for some reason
376+
# https://github.com/ekmett/ad/issues/113
377+
ad = overrideCabal (drv: {
378+
testFlags = drv.testFlags or [ ] ++ [
379+
"-p" "!/issue-108/"
380+
];
381+
}) super.ad;
374382
})

0 commit comments

Comments
 (0)