Skip to content

Commit

Permalink
haskellPackages.ad: disable problematic test on x86_64-darwin
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
sternenseemann committed May 31, 2024
1 parent 7476d0d commit d902325
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pkgs/development/haskell-modules/configuration-darwin.nix
Original file line number Diff line number Diff line change
Expand Up @@ -371,4 +371,12 @@ self: super: ({
# same
# https://hydra.nixos.org/build/174540882/nixlog/9
jacinda = dontCheck super.jacinda;

# Greater floating point error on x86_64-darwin (!) for some reason
# https://github.com/ekmett/ad/issues/113
ad = overrideCabal (drv: {
testFlags = drv.testFlags or [ ] ++ [
"-p" "!/issue-108/"
];
}) super.ad;
})

0 comments on commit d902325

Please sign in to comment.