ghc/ghc-gen_contents_index-haddock-path.patch

14 lines
560 B
Diff
Raw Normal View History

Index: ghc-9.2.0.20210331/libraries/gen_contents_index
===================================================================
--- ghc-9.2.0.20210331.orig/libraries/gen_contents_index
+++ ghc-9.2.0.20210331/libraries/gen_contents_index
@@ -47,7 +47,7 @@ then
HADDOCK_ARGS="$HADDOCK_ARGS $HADDOCK_ARG"
done
else
- HADDOCK=../../../../../bin/haddock
+ HADDOCK=/usr/bin/haddock
# We don't want the GHC API to swamp the index
HADDOCK_FILES=`ls -1 */*.haddock | grep -v '/ghc\.haddock' | sort`
HADDOCK_ARGS="-p prologue.txt"