snap: modern cabal no longer have sandbox subcommand

Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
This commit is contained in:
Simon Deziel 2025-06-18 13:09:33 -04:00
commit 310932be8e
No known key found for this signature in database

View file

@ -49,9 +49,8 @@ parts:
mkswap /tmp/swap
swapon /tmp/swap
cabal sandbox init
cabal update
cabal install -j
install -d "${CRAFT_PART_INSTALL}/usr/bin"
install .cabal-sandbox/bin/shellcheck "${CRAFT_PART_INSTALL}/usr/bin"
install ~/.cabal/bin/shellcheck "${CRAFT_PART_INSTALL}/usr/bin"