From 3deb61e9f2c1970ebfea5812b6b7fed66d24fd8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roman=20Smr=C5=BE?= Date: Sat, 7 Nov 2026 15:46:55 +0100 Subject: Cabal: make crypto-backend flags exclusive --- erebos.cabal | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'erebos.cabal') diff --git a/erebos.cabal b/erebos.cabal index 7e9c759..a17e140 100644 --- a/erebos.cabal +++ b/erebos.cabal @@ -197,6 +197,9 @@ library zlib >=0.6 && <0.8 if flag(crypton) + if flag(cryptonite) || flag(crypto-reflibs) + build-depends: + crypton < 0 if flag(bytearray-ram) build-depends: crypton ^>= { 1.1, 2.0 }, @@ -210,6 +213,9 @@ library src/crypto/crypton elif flag(cryptonite) + if flag(crypto-reflibs) + build-depends: + cryptonite < 0 if flag(bytearray-memory) build-depends: cryptonite >=0.25 && <0.31, -- cgit v1.2.3