Test that building hashable works

This commit is contained in:
Julian Ospald 2024-01-03 21:16:10 +08:00
parent 25f6f8cfad
commit 9ebb937b37
No known key found for this signature in database
GPG Key ID: 4275CDA6A29BED43
2 changed files with 3 additions and 1 deletions

View File

@ -12,7 +12,7 @@ fi
export PATH="$HOME/.local/bin:$PATH"
export BOOTSTRAP_HASKELL_NONINTERACTIVE=1
export BOOTSTRAP_HASKELL_CABAL_VERSION="${CABAL_VER:-3.6.2.0}"
export BOOTSTRAP_HASKELL_CABAL_VERSION="${CABAL_VER:-3.6.2.0-p2}"
export BOOTSTRAP_HASKELL_ADJUST_CABAL_CONFIG=no
export BOOTSTRAP_HASKELL_INSTALL_NO_STACK=yes
export BOOTSTRAP_HASKELL_ADJUST_BASHRC=1

View File

@ -109,6 +109,8 @@ case $TOOL in
cabal --version
cabal update
cabal install --lib --package-env=. clock
# https://github.com/haskell/ghcup-hs/issues/966
cabal install --lib --package-env=. hashable
;;
cabal)
ghcup_fun install ghc --set "$(ghcup_fun list -t ghc -r -c available | tail -1 | awk '{ print $2 }')"