Browse Source

Upgraded Yesod's Stack LTS version to 5.0, tweaked the Stack install script to be version agnostic

Steven Smith 9 years ago
parent
commit
37d97e5a0c

+ 1 - 1
frameworks/Haskell/yesod/bench/stack.yaml

@@ -4,4 +4,4 @@ packages:
 extra-deps:
 - pool-conduit-0.1.2.3
 - monad-control-0.3.3.1
-resolver: lts-3.19
+resolver: lts-5.0

+ 3 - 1
toolset/setup/linux/systools/stack.sh

@@ -7,7 +7,9 @@ RETCODE=$(fw_exists ${IROOT}/stack.installed)
 
 fw_get -o $IROOT/stack.tar.gz https://www.stackage.org/stack/linux-x86_64
 tar xzf $IROOT/stack.tar.gz
-mv $IROOT/stack-1.0.2-linux-x86_64/stack $IROOT
+pushd $IROOT/stack-*
+mv stack $IROOT
+popd
 sudo apt-get -y install perl make automake gcc libgmp3-dev
 
 touch $IROOT/stack.installed