File ghc-gen_contents_index-haddock-path.patch of Package ghc

Index: ghc-9.4.4/libraries/gen_contents_index
===================================================================
--- ghc-9.4.4.orig/libraries/gen_contents_index
+++ ghc-9.4.4/libraries/gen_contents_index
@@ -58,7 +58,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"
openSUSE Build Service is sponsored by