Skip to content

Commit b0005ac

Browse files
committed
fix emulated workflow
1 parent 7587ba9 commit b0005ac

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/emulated.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ jobs:
3333
githubToken: ${{ github.token }}
3434
install: |
3535
apt-get update -y
36-
apt-get install -y ghc alex happy
36+
apt-get install -y ghc alex happy cabal
37+
cabal install Ranged-sets
3738
run: |
3839
(cd src/; alex -g Scan.x; happy -ag Parser.y)
3940
# Need to remove mention of the Cabal path module, and then substitutes
@@ -45,7 +46,7 @@ jobs:
4546
sed -i "s/getDataDir/\(return \"$(pwd | sed 's/\//\\\//g')\\/data\"\)/g" src/Main.hs
4647
sed -i "s/version/undefined/g" src/Main.hs
4748
ghc -XHaskell2010 -XPatternSynonyms -XFlexibleContexts -XMagicHash -XCPP -XNondecreasingIndentation -XScopedTypeVariables -XTupleSections -XDeriveFunctor \
48-
-package array -package containers -package directory \
49+
-package array -package containers -package directory -package Ranged-sets \
4950
-isrc src/Main.hs \
5051
-o alex
5152
./alex -g tests/simple.x

0 commit comments

Comments
 (0)