From e52e16e2eff1fd629dcdbc3e025debe2c6d82da9 Mon Sep 17 00:00:00 2001 From: "Thomas M. DuBuisson" Date: Sun, 21 May 2017 14:20:52 -0700 Subject: [PATCH] Add setup-depends since we detect rdrand at startup. --- entropy.cabal | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/entropy.cabal b/entropy.cabal index 54272f6..b8b6a50 100644 --- a/entropy.cabal +++ b/entropy.cabal @@ -30,6 +30,14 @@ flag halvm description: Build for the HaLVM default: False + +custom-setup + setup-depends: Cabal >= 1.10 && < 2.2 + , base < 5 + , filepath < 1.5 + , directory < 1.4 + , process < 1.7 + library ghc-options: -O2 exposed-modules: System.Entropy