Fedora's cabal-install-1.14 fails when installing cabal-file-th with:

    cabal: At least the following dependencies are missing:
    Cabal >=1.10 && <1.17 && ==1.20.0.2

This seems to be a bug in the depencency solver, and it's fixed
in newer cabal versions (tried with 1.20), so we install one of those.

Signed-off-by: Niklas Hambuechen <[email protected]>
---
 roles/buildslave/scripts/postinstall | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/roles/buildslave/scripts/postinstall 
b/roles/buildslave/scripts/postinstall
index ab19f80..14aa635 100755
--- a/roles/buildslave/scripts/postinstall
+++ b/roles/buildslave/scripts/postinstall
@@ -228,6 +228,9 @@ case "$1" in
 
     cabal install --global \
       Cabal \
+      cabal-install
+
+    cabal install --global \
       attoparsec \
       crypto \
       curl==1.3.7 \
-- 
2.2.0.rc0.207.ga3a616c

Reply via email to