@@ -50,7 +50,10 @@ jobs:
51 - name: Configure
51 - name: Configure
53+ # Using separate store-dir because default one already has 'ghc-paths' package installed
54+ # with hardcoded path to ghcup's GHC path (which it was built with). This leads to failure in
55+ # doctest, as it tries to invoke that GHC, and it doesn't exist here.
53− cabal install --ignore-project -j2 doctest --constraint='doctest ^>=0.18'
56+ cabal --store-dir /tmp/cabal-store install --ignore-project -j2 doctest --constraint='doctest ^>=0.18'
55 - name: Build
58 - name: Build