From cca0fc0c74a525bb2b16286e0dfc6d6d7e72f29e Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Thu, 22 Jun 2023 20:03:22 +0800 Subject: [PATCH] disable monad-primitive MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit cc @serras Building library for monad-primitive-0.1.. [1 of 2] Compiling Control.Monad.Primitive.Class /var/stackage/work/unpack-dir/unpacked/monad-primitive-0.1-a4b14d3951c8e79aba5b9b395c187cce18e479d6aa71e4ebf01bd3eca6ed1212/C ontrol/Monad/Primitive/Class.hs:21:1: error: Could not find module ‘Control.Monad.Trans.Error’ Perhaps you meant Control.Monad.Trans.Free (needs flag -package-id free-5.2) Control.Monad.Trans.Iter (needs flag -package-id free-5.2) Control.Monad.Trans.Either (needs flag -package-id transformers-either-0.1.4) Use -v (or `:set -v` in ghci) to see a list of the files searched for. | 21 | import Control.Monad.Trans.Error (ErrorT,Error) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ --- build-constraints.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build-constraints.yaml b/build-constraints.yaml index 9918d9ac..dbaf0d3e 100644 --- a/build-constraints.yaml +++ b/build-constraints.yaml @@ -1597,7 +1597,7 @@ packages: - tracing-control - primitive-unlifted < 1.0.0.0 || > 1.0.0.0 - stm-lifted - - monad-primitive + - monad-primitive < 0 # ghc-9.6 - mwc-random-monad "Flavio Corpa @kutyel": @@ -7542,6 +7542,7 @@ packages: - multistate < 0 # tried multistate-0.8.0.4, but its *library* requires mtl >=2.1 && < 2.3 and the snapshot contains mtl-2.3.1 - multistate < 0 # tried multistate-0.8.0.4, but its *library* requires transformers >=0.3 && < 0.6 and the snapshot contains transformers-0.6.1.0 - mwc-random-accelerate < 0 # tried mwc-random-accelerate-0.2.0.0, but its *library* requires the disabled package: accelerate + - mwc-random-monad < 0 # tried mwc-random-monad-0.7.3.1, but its *library* requires the disabled package: monad-primitive - mysql-haskell < 0 # tried mysql-haskell-0.8.4.3, but its *library* requires memory >=0.14.4 && < 0.16 and the snapshot contains memory-0.18.0 - mysql-haskell < 0 # tried mysql-haskell-0.8.4.3, but its *library* requires text >=1.1 && < 1.3 and the snapshot contains text-2.0.2 - mysql-haskell < 0 # tried mysql-haskell-0.8.4.3, but its *library* requires the disabled package: word24