From f7b7e7744eb976fa2784303971f3d947d015ae01 Mon Sep 17 00:00:00 2001 From: Harendra Kumar Date: Mon, 18 Dec 2023 00:35:22 +0530 Subject: [PATCH] fixup: remove user-config init --- packcheck.sh | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/packcheck.sh b/packcheck.sh index d77d04f..dfb17bd 100755 --- a/packcheck.sh +++ b/packcheck.sh @@ -1337,13 +1337,16 @@ ensure_cabal_config() { then echo "Removing old cabal config [$cfg]" run_verbose_errexit rm -f "$cfg" - fi - - if test ! -e $cfg - then run_verbose $CABAL_BINARY_NAME user-config init || true fi + # this generates it in ~/.config which creates issues for cabal-docspec and + # some other issues. + #if test ! -e $cfg + #then + # run_verbose $CABAL_BINARY_NAME user-config init || true + #fi + if test "$BUILD" = "cabal-v2" then if test -n "$CABAL_HACKAGE_MIRROR"