Skip to content

Use release version of HLS #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 14, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ARG GHC_VERSION=9.8.4
ARG STACK_VERSION=3.1.1
ARG STACK_RESOLVER=lts-23.8
ARG CABAL_VERSION=3.12.1.0
ARG HLS_GIT_REF=25c5d82ce09431a1b53dfa1784a276a709f5e479
ARG HLS_VERSION=2.10.0.0

ENV LANG=C.UTF-8 \
DEBIAN_FRONTEND=noninteractive \
Expand All @@ -15,7 +15,7 @@ ENV LANG=C.UTF-8 \
STACK_VERSION=${STACK_VERSION} \
STACK_RESOLVER=${STACK_RESOLVER} \
CABAL_VERSION=${CABAL_VERSION} \
HLS_GIT_REF=${HLS_GIT_REF}
HLS_VERSION=${HLS_VERSION}

RUN ulimit -n 8192
RUN apt-get update --yes && \
Expand Down Expand Up @@ -69,8 +69,8 @@ RUN ((stack ghc -- --version 2>/dev/null) || true) && \
stack config --system-ghc set resolver ${STACK_RESOLVER}
RUN printf "ghc-options:\n \"\$everything\": -haddock\n" >> ~/.stack/config.yaml

# Compile HLS from source
RUN ghcup compile hls --ghc ${GHC_VERSION} --git-ref ${HLS_GIT_REF} --set
# Install HLS
RUN ghcup install hls ${HLS_VERSION} --set

# Install useful dependencies
RUN cabal update && \
Expand Down