From 26fb44a8cb6bf5d9139e5f73719105ebbcd3ce48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20B=C3=A4renz?= Date: Fri, 10 Mar 2023 15:33:17 +0100 Subject: [PATCH] Don't test on MacOS See https://github.com/tweag/monad-bayes/pull/256, there are precision issues on macs. --- flake.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/flake.nix b/flake.nix index 40bfe255..210b80be 100644 --- a/flake.nix +++ b/flake.nix @@ -99,6 +99,9 @@ }; 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; }; jupyterEnvironment = mkJupyterlabFromPath ./kernels {inherit pkgs monad-bayes;};