Skip to content

Commit

Permalink
Fix "stack haddock" for GHCJS
Browse files Browse the repository at this point in the history
  • Loading branch information
mgsloan committed Oct 6, 2015
1 parent cda905c commit 3fa1111
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Stack/Build/Execute.hs
Original file line number Diff line number Diff line change
Expand Up @@ -991,8 +991,7 @@ singleBuild runInBase ac@ActionContext {..} ee@ExecuteEnv {..} task@Task {..} in
"found on PATH (use 'stack install hscolour' to install).")
return ["--hyperlink-source" | hscolourExists]
cabal False (concat [["haddock", "--html", "--hoogle", "--html-location=../$pkg-$version/"]
,sourceFlag
,["--ghcjs" | wc == Ghcjs]])
,sourceFlag])

withMVar eeInstallLock $ \() -> do
announce "install"
Expand Down

0 comments on commit 3fa1111

Please sign in to comment.