diff --git a/.github/workflows/haskell.yml b/.github/workflows/haskell.yml index c92c0c7d..b233eb30 100644 --- a/.github/workflows/haskell.yml +++ b/.github/workflows/haskell.yml @@ -302,11 +302,13 @@ jobs: PKGDIR_haskell_ci="$(find "$GITHUB_WORKSPACE/unpacked" -maxdepth 1 -type d -regex '.*/Allure-[0-9.]*')" echo "PKGDIR_haskell_ci=${PKGDIR_haskell_ci}" >> "$GITHUB_ENV" git clone --depth=50 --branch=master https://github.com/LambdaHack/LambdaHack.git - tail -n +3 ${PKGDIR_haskell_ci}/cabal.project.LH.dir > cabal.project + tail -n +5 ${PKGDIR_haskell_ci}/cabal.project.LH.dir > cabal.project echo "packages: $GITHUB_WORKSPACE/source/. LambdaHack" >> cabal.project if $HEADHACKAGE; then echo "allow-newer: $($HCPKG list --simple-output | sed -E 's/([a-zA-Z-]+)-[0-9.]+/*:\1,/g')" >> cabal.project fi + echo "package sdl2" >> cabal.project + echo " flags: +no-linear -recent-ish" >> cabal.project cat cabal.project cp cabal.project cabal.project.LH.dir - name: cache