From 8e5a672a6040fd7a614e70c94a0f077bcc779c0f Mon Sep 17 00:00:00 2001
From: Hans-Peter Deifel <hpd@hpdeifel.de>
Date: Wed, 3 Oct 2018 19:12:16 +0200
Subject: [PATCH] cabal: Add hspec-discover to build-tools-depends

This ensures hspec-discover is installed for test compilation. This is
unnecessary if the hspec-discover executable is already installed by
the build tool (stack), but that's not always the case.
---
 ma.cabal | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ma.cabal b/ma.cabal
index e46c676..9c45d96 100644
--- a/ma.cabal
+++ b/ma.cabal
@@ -166,6 +166,7 @@ test-suite spec
                      , containers
                      , mtl
                      , ma
+  build-tool-depends: hspec-discover:hspec-discover ==2.*
 
 test-suite doctests
   type:                exitcode-stdio-1.0
-- 
GitLab