Skip to content

Commit

Permalink
Don't test on MacOS
Browse files Browse the repository at this point in the history
See tweag#256,
there are precision issues on macs.
  • Loading branch information
turion committed May 17, 2023
1 parent 3e3d038 commit 8709901
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@
name = "monad-bayes";
root = src;
cabal2nixOptions = "--benchmark -fdev";

# https://github.com/tweag/monad-bayes/pull/256: Don't run tests on Mac because of machine precision issues
modifier = drv: if system == "x86_64-linux" then drv else pkgs.haskell.lib.dontCheck drv;
overrides = self: super: with pkgs.haskell.lib; { # Please check after flake.lock updates whether some of these overrides can be removed
string-qq = dontCheck super.string-qq;
};
Expand All @@ -89,6 +92,7 @@
in lib.attrsets.genAttrs ghcs buildForVersion;

monad-bayes = monad-bayes-per-ghc.ghc902;

monad-bayes-all-ghcs = pkgs.linkFarm "monad-bayes-all-ghcs" monad-bayes-per-ghc;

jupyterEnvironment = mkJupyterlabFromPath ./kernels {inherit pkgs monad-bayes;};
Expand Down

0 comments on commit 8709901

Please sign in to comment.