diff options
| author | Roman Smrž <roman.smrz@seznam.cz> | 2026-11-07 15:46:55 +0100 |
|---|---|---|
| committer | Roman Smrž <roman.smrz@seznam.cz> | 2026-11-07 15:46:55 +0100 |
| commit | 3deb61e9f2c1970ebfea5812b6b7fed66d24fd8c (patch) | |
| tree | 3f917e0b6770a102640d458e564df92182017ef7 | |
| parent | a93a4fe098d824ef5d7c398938b2b73a04961008 (diff) | |
Cabal: make crypto-backend flags exclusive
| -rw-r--r-- | erebos.cabal | 6 |
1 files changed, 6 insertions, 0 deletions
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, |