Skip to content

Commit

Permalink
install happy 1.20
Browse files Browse the repository at this point in the history
  • Loading branch information
EmilKWarmdahl committed Nov 5, 2024
1 parent 272eb15 commit bc72bb6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker/ghc-alpine.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ RUN git clone -b ghc-"$GHC_VERSION"-release https://gitlab.haskell.org/ghc/ghc.g

COPY ../scripts/ghc-alpine-build.sh /ghc-alpine-build.sh
RUN chmod +x /ghc-alpine-build.sh
RUN ./ghc-alpine-build.sh
ENTRYPOINT ["/ghc-alpine-build.sh"]
2 changes: 1 addition & 1 deletion scripts/ghc-alpine-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ set -ex
. "$HOME/.ghcup/env"

cd ghc/
cabal install happy alex --install-method=copy --constraint 'happy < 1.20'
cabal install happy-1.20 alex --install-method=copy
cp ~/.cabal/bin/* /usr/bin

# Build GHC
Expand Down

0 comments on commit bc72bb6

Please sign in to comment.