Skip to content

Commit

Permalink
Replace Cabal install with copy and register #1203
Browse files Browse the repository at this point in the history
  • Loading branch information
snoyberg committed Oct 20, 2015
1 parent 4043bb1 commit f71a515
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/Stack/Build/Execute.hs
Original file line number Diff line number Diff line change
Expand Up @@ -1012,8 +1012,9 @@ singleBuild runInBase ac@ActionContext {..} ee@ExecuteEnv {..} task@Task {..} in
,sourceFlag])

withMVar eeInstallLock $ \() -> do
announce "install"
cabal False ["install"]
announce "copy/register"
cabal False ["copy"]
cabal False ["register"]

let pkgDbs =
case taskLocation task of
Expand Down

0 comments on commit f71a515

Please sign in to comment.