File: comment_1_22e01f5f110593796b539fc7630ccb3c._comment

package info (click to toggle)
git-annex 7.20190129-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 56,292 kB
  • sloc: haskell: 59,105; sh: 1,255; makefile: 225; perl: 136; ansic: 44
file content (17 lines) | stat: -rw-r--r-- 712 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[[!comment format=mdwn
 username="joey"
 subject="""comment 1"""
 date="2018-12-09T15:15:36Z"
 content="""
The way that stack works is the "resolver" value in stack.yaml
points to a particular version of ghc and libraries that work with it.

I don't think that stack allows overriding the version of ghc. What you can
do is go to <http://stackage.org/> and find a snapshot that includes the
ghc version you have available, and edit stack.yaml's "resolver" to use
that. You may also need to pass --system-ghc to stack to make it use your
installed ghc rather than trying to download it.

Building with cabal, while more error prone, is another way to use whatever
version of ghc you have installed already.
"""]]