File tree 2 files changed +13
-7
lines changed
2 files changed +13
-7
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ Vagrant.configure(2) do |config|
62
62
vb . customize [ "modifyvm" , :id , "--cpus" , cpus ]
63
63
64
64
# Customize the amount of memory on the VM:
65
- vb . memory = "2048 "
65
+ vb . memory = "4096 "
66
66
end
67
67
68
68
#
@@ -86,7 +86,13 @@ Vagrant.configure(2) do |config|
86
86
sudo update-locale LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8;
87
87
sudo add-apt-repository -y ppa:hvr/ghc;
88
88
sudo apt-get update -qq;
89
- sudo apt-get install -y -qq ghc-7.10.2 cabal-install-1.22;
89
+ sudo apt-get install -y -qq ghc-7.10.3 cabal-install-1.22;
90
+
91
+ # Add Stackage to Trusty64
92
+ sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 575159689BEFB442
93
+ echo 'deb http://download.fpcomplete.com/ubuntu trusty main'|sudo tee /etc/apt/sources.list.d/fpco.list
94
+ sudo apt-get update && sudo apt-get install stack -y
95
+
90
96
cabal sandbox init;
91
97
export HOME=/home/vagrant && ./debian-install.sh -f
92
98
SHELL
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ while getopts 'qrbphf' flag; do
15
15
h) echo " Available flags are:" ; \
16
16
echo " -q Quiet. Run in quiet mode, I.e don't print as much stuff" ;
17
17
echo " -r Replace ghc and cabal. Will change the path \$ PATH" ;
18
- echo " to point to ghc version 7.10.2 and cabal to version 1.22." ;
18
+ echo " to point to ghc version 7.10.3 and cabal to version 1.22." ;
19
19
echo " -s Adds Encore to the \$ PATH variable. Has no effect unless the \` -b\` flag is used." ;
20
20
echo " -b Builds Encore." ;
21
21
echo " -h Print this message and exit." ;
@@ -38,20 +38,20 @@ sudo apt-get install -y $quiet\
38
38
make\
39
39
premake4\
40
40
zlib1g-dev \
41
- ghc-7.10.2 \
41
+ ghc-7.10.3 \
42
42
cabal-install-1.22\
43
43
racket\
44
44
doxygen
45
45
46
46
if $replace
47
47
then
48
- if (( hash ghc 2 >/ dev/ null) && (ghc -- version | grep - q 7 .10 .2 ))
48
+ if (( hash ghc 2 >/ dev/ null) && (ghc -- version | grep - q 7 .10 .3 ))
49
49
then
50
50
echo " --==HASKELL VERSION IS CORRECT==--"
51
51
else
52
52
echo " --==SETTING HASKELL PATH==--"
53
- echo ' export PATH=/opt/ghc/7.10.2 /bin:$PATH' >> $HOME /.profile
54
- export PATH=/opt/ghc/7.10.2 /bin:$PATH
53
+ echo ' export PATH=/opt/ghc/7.10.3 /bin:$PATH' >> $HOME /.profile
54
+ export PATH=/opt/ghc/7.10.3 /bin:$PATH
55
55
fi
56
56
57
57
if (( hash cabal 2 >/ dev/ null) && (cabal -- version | grep - q 1 .22 ))
You can’t perform that action at this time.
0 commit comments