From 71e00202cb6654b136b30496085e33ca7179fafd Mon Sep 17 00:00:00 2001
From: Michele Tartara <mtartara@google.com>
Date: Tue, 7 May 2013 13:15:48 +0000
Subject: [PATCH] Add version numbers to chroot build script

Update the script adding explicit version numbers for increased repeatability
of the build environment construction process. Version numbers are aligned
with those used by the external buildbot slack role.

Signed-off-by: Michele Tartara <mtartara@google.com>
Reviewed-by: Klaus Aehlig <aehlig@google.com>
---
 devel/build_chroot | 31 ++++++++++++++++++++-----------
 1 file changed, 20 insertions(+), 11 deletions(-)

diff --git a/devel/build_chroot b/devel/build_chroot
index 43ca4d38f..d281c2015 100755
--- a/devel/build_chroot
+++ b/devel/build_chroot
@@ -115,14 +115,23 @@ in_chroot -- \
 
 in_chroot -- \
   cabal install --global \
-    QuickCheck==2.5.1.1 \
-    network==2.3 hslogger Crypto text regex-pcre \
-    attoparsec vector \
-    json==0.4.4 \
-    MonadCatchIO-transformers==0.2.2.0 mtl==2.0.1.0 \
-    hashable==1.1.2.0 case-insensitive==0.3 parsec==3.0.1 \
-    network==2.3 snap-server==0.8.1 \
-    hinotify==0.3.2
+    network==2.3 \
+    regex-pcre==0.94.2 \
+    hinotify==0.3.2 \
+    hslogger==1.1.4 \
+    attoparsec==0.10.1.1\
+    quickcheck==2.5.1.1 \
+    crypto==4.2.4 \
+    monadcatchio-transformers==0.2.2.0 \
+    mtl==2.0.1.0 \
+    hashable==1.1.2.0 \
+    case-insensitive==0.3 \
+    parsec==3.0.1 \
+    network==2.3 \
+    snap-server==0.8.1 \
+    text==0.11.3.0 \
+    vector==0.9.1 \
+    json==0.4.4
 
 #Python development tools
 in_chroot -- \
@@ -139,11 +148,11 @@ in_chroot -- \
 #Haskell development tools
 in_chroot -- \
   cabal install --global \
-    HUnit \
-    happy \
+    hunit==1.2.5.2 \
+    happy==1.18.10 \
     hlint==1.8.34 \
     hscolour==1.20.3 \
-    temporary \
+    temporary==1.1.2.3 \
     test-framework==0.6.1 \
     test-framework-hunit==0.2.7 \
     test-framework-quickcheck2==0.2.12.3
-- 
GitLab