Prevent cabal.project.freeze from interfering with distro tests

This commit is contained in:
Vidar Holen
2025-08-02 14:39:12 -07:00
parent 3f3c2cd94b
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