Skip to content

Commit

Permalink
fixup: remove user-config init
Browse files Browse the repository at this point in the history
  • Loading branch information
harendra-kumar committed Dec 17, 2023
1 parent eed527e commit f7b7e77
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions packcheck.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit f7b7e77

Please sign in to comment.