Prevent cabal.project.freeze from interfering with distro tests
Some checks are pending
Build ShellCheck / Package Source Code (push) Waiting to run
Build ShellCheck / Run tests (push) Blocked by required conditions
Build ShellCheck / Build (push) Blocked by required conditions
Build ShellCheck / Package Binaries (push) Blocked by required conditions
Build ShellCheck / Deploy binaries (push) Blocked by required conditions

This commit is contained in:
Vidar Holen 2025-08-02 14:39:12 -07:00
commit abf3c0ca66

View file

@ -12,6 +12,12 @@ command -v cabal ||
cabal update ||
die "can't update"
if [ -e "cabal.project.freeze" ]
then
echo "Renaming cabal.project.freeze to .bak to avoid it interferring" >&2
mv "cabal.project.freeze" "cabal.project.freeze.bak" || die "Couldn't rename"
fi
if [ -e /etc/arch-release ]
then
# Arch has an unconventional packaging setup