From 623cb51ffe4a627315b62194ebcf0d931f0a33b2 Mon Sep 17 00:00:00 2001 From: Joris Dral Date: Wed, 11 Jun 2025 12:03:28 +0200 Subject: [PATCH] `io-sim-1.8` fails to build with `io-classes-1.7` and earlier versions `InspectMonad` was renamed to `InspectMonadSTM` in `io-classes-1.8` and `io-sim-1.8`. `io-sim-1.8` fails to build with `io-classes-1.7` and earlier, so those versions should be omitted from the build dependencies. Alternatively, some CPP could be added to use either `InspectMonad` or `InspectMonadSTM` depending on the version of `io-sim`. --- io-sim/io-sim.cabal | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/io-sim/io-sim.cabal b/io-sim/io-sim.cabal index d4d25aef..eab587f7 100644 --- a/io-sim/io-sim.cabal +++ b/io-sim/io-sim.cabal @@ -66,7 +66,7 @@ library default-extensions: GADTs build-depends: base >=4.16 && <4.22, io-classes:{io-classes,strict-stm,si-timers} - ^>=1.6 || ^>= 1.7 || ^>= 1.8, + ^>=1.8, exceptions >=0.10, containers, deepseq,