File tree Expand file tree Collapse file tree 2 files changed +17
-14
lines changed Expand file tree Collapse file tree 2 files changed +17
-14
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,8 @@ Other enhancements:
1414
1515Bug fixes:
1616
17+ * ` --haddock-for-hackage ` does not ignore ` --haddock-arguments ` .
18+
1719## v2.15.1 - 2024-02-09
1820
1921Release notes:
Original file line number Diff line number Diff line change @@ -596,20 +596,21 @@ singleBuild
596596
597597 fulfillHaddockExpectations pname mcurator $ \ keep -> do
598598 let args = concat
599- ( if isHaddockForHackage
600- then
601- [ [ " --for-hackage" ] ]
602- else
603- [ [ " --html"
604- , " --hoogle"
605- , " --html-location=../$pkg-$version/"
606- ]
607- , [ " --haddock-option=--hyperlinked-source"
608- | ee. buildOpts. haddockHyperlinkSource
609- ]
610- , [ " --internal" | ee. buildOpts. haddockInternal ]
611- , quickjump
612- ]
599+ ( ( if isHaddockForHackage
600+ then
601+ [ [ " --for-hackage" ] ]
602+ else
603+ [ [ " --html"
604+ , " --hoogle"
605+ , " --html-location=../$pkg-$version/"
606+ ]
607+ , [ " --haddock-option=--hyperlinked-source"
608+ | ee. buildOpts. haddockHyperlinkSource
609+ ]
610+ , [ " --internal" | ee. buildOpts. haddockInternal ]
611+ , quickjump
612+ ]
613+ )
613614 <> [ [ " --haddock-option=" <> opt
614615 | opt <- ee. buildOpts. haddockOpts. additionalArgs
615616 ]
You can’t perform that action at this time.
0 commit comments