Skip to content

Commit 00bfaf6

Browse files
committed
#3362, ensure we always generate hoogle documentation when running Haddock
1 parent 2a22d15 commit 00bfaf6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Stack/Build/Execute.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1410,7 +1410,7 @@ singleBuild runInBase ac@ActionContext {..} ee@ExecuteEnv {..} task@Task {..} in
14101410
"found on PATH (use 'stack install hscolour' to install).")
14111411
return ["--hyperlink-source" | hscolourExists]
14121412
cabal KeepTHLoading $ concat
1413-
[ ["haddock", "--html", "--html-location=../$pkg-$version/"]
1413+
[ ["haddock", "--html", "--hoogle", "--html-location=../$pkg-$version/"]
14141414
, sourceFlag
14151415
, ["--internal" | boptsHaddockInternal eeBuildOpts]
14161416
, [ "--haddock-option=" <> opt

0 commit comments

Comments
 (0)