Skip to content

Commit

Permalink
Temporarily use lts-7.24 in the helper binary dependency solving/inst…
Browse files Browse the repository at this point in the history
…alling
  • Loading branch information
jship committed Feb 14, 2018
1 parent ae2a8fa commit c05e841
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions scripts/setup_haskell.hs
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,7 @@ setupHaskell = do
"dependencies.cabal"
(toStrict helperDependenciesCabalText)
Turtle.stdout (Turtle.input "dependencies.cabal")
let solverCommand = "stack init --solver --resolver "
<> stackResolver
let solverCommand = "stack init --solver --resolver lts-7.24"
<> " --install-ghc"
-- XXX for best results we should solve and install each one of them
-- independently rather than solving them together. It becomes more
Expand Down Expand Up @@ -173,9 +172,9 @@ setupHaskell = do
-- XXX I could not figure out how to keep the ">" sign unescaped in
-- mustache, so had to treat this especially. If we can do that then
-- we can push this as well in helperDependencies.
stackInstall stackResolver "hscope" True
stackInstall "lts-7.24" "hscope" True
forM_ (map (head . Text.words) helperDependencies) $
\dep -> stackInstall stackResolver dep True
\dep -> stackInstall "lts-7.24" dep True
-- XXX we should remove the temporary dir after installing to reclaim
-- unnecessary space.
msg "Installing git-hscope..."
Expand Down

0 comments on commit c05e841

Please sign in to comment.