Skip to content

Commit

Permalink
Try ghc=HC
Browse files Browse the repository at this point in the history
  • Loading branch information
knothed committed Jul 22, 2021
1 parent e532ab7 commit 1282164
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/haskell-ci.patch
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
+ export HAPPY=$HOME/.cabal/bin/happy
+ export HC
+ export CABAL
+ if [[ $(ghc --numeric-version) == "8.10.1" ]]
+ if [[ $($ghc --numeric-version) == "8.10.1" ]]
+ then
+ make sdist-test
+ else
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/haskell-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ jobs:
echo "CABAL_CONFIG=$HOME/.cabal/config" >> "$GITHUB_ENV"
HCDIR=/opt/$HCKIND/$HCVER
HC=$HCDIR/bin/$HCKIND
ghc=$HC
echo "HC=$HC" >> "$GITHUB_ENV"
echo "HCPKG=$HCDIR/bin/$HCKIND-pkg" >> "$GITHUB_ENV"
echo "HADDOCK=$HCDIR/bin/haddock" >> "$GITHUB_ENV"
Expand Down Expand Up @@ -249,7 +250,7 @@ jobs:
export HAPPY=$HOME/.cabal/bin/happy
export HC
export CABAL
if [[ $(ghc --numeric-version) == "8.10.1" ]]
if [[ $($ghc --numeric-version) == "8.10.1" ]]
then
make sdist-test
else
Expand Down

0 comments on commit 1282164

Please sign in to comment.