From e575ff318c93add2a6d3f9107a52c5e37c666a98 Mon Sep 17 00:00:00 2001 From: Adithya Kumar Date: Thu, 27 Jun 2024 13:26:32 +0530 Subject: [PATCH] Use the custom ghc instead of default ghc for docspec --- packcheck.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packcheck.sh b/packcheck.sh index 2905fe2..9e5e198 100755 --- a/packcheck.sh +++ b/packcheck.sh @@ -2123,10 +2123,10 @@ else die "Use DOCSPEC_URL option to install." fi fi - # XXX Use the --with-compiler option instead - ensure_default_ghc + ensure_ghc run_verbose_errexit cabal-docspec --version - run_verbose_errexit cabal-docspec $DOCSPEC_OPTIONS + run_verbose_errexit cabal-docspec $DOCSPEC_OPTIONS \ + --with-compiler "$COMPILER_EXE_PATH" fi fi