Use diffrent ghc version

This commit is contained in:
qvalentin 2023-01-22 12:34:20 +01:00
parent 3a7eb88bc0
commit 94de1e9649
2 changed files with 14 additions and 10 deletions

View File

@ -9,16 +9,21 @@
# to be used for project dependencies. For example:
#
# resolver: lts-3.5
# resolver: nightly-2015-09-21
# resolver: ghc-7.10.2
#
# Use the latest resolver that uses the same ghc version
# as build for nixos
# this way we can use prebuild binaries for hls
resolver: nightly-2022-11-12
#resolver: ghc-9.2.4
#
# The location of a snapshot can be provided as a file or url. Stack assumes
# a snapshot provided as a file might change, whereas a url resource does not.
#
# resolver: ./custom-snapshot.yaml
# resolver: https://example.com/snapshots/2018-01-01.yaml
resolver:
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/20/6.yaml
#resolver:
# url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/20/6.yaml
# User packages to be built.
# Various formats can be used as shown in the example below.
@ -30,7 +35,7 @@ resolver:
# - auto-update
# - wai
packages:
- .
- .
# Dependency packages to be pulled from upstream that are not in the resolver.
# These entries can reference officially published versions as well as
# forks / in-progress versions pinned to a git hash. For example:

View File

@ -6,8 +6,7 @@
packages: []
snapshots:
- completed:
sha256: 4905c93319aa94aa53da8f41d614d7bacdbfe6c63a8c6132d32e6e62f24a9af4
size: 649315
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/20/6.yaml
original:
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/20/6.yaml
sha256: 5cacb39a2c21842535dc0a31e2005d3b1eb18e451a89d58c28381e1efdb9520f
size: 647983
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/nightly/2022/11/12.yaml
original: nightly-2022-11-12