forked from google/haskell-indexer
/
stack-6.30.yaml
44 lines (39 loc) · 1.38 KB
/
stack-6.30.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Note: LTS 6.30 is the latest LTS 6 version which has an fpco/stack-build
# docker image. See below why is that useful. If you are not interested in
# doing a full-stackage index based on docker snapshot, feel free to use
# other version.
resolver: lts-6.30
packages:
- haskell-indexer-backend-core
- haskell-indexer-backend-ghc
- haskell-indexer-frontend-kythe
- haskell-indexer-pathutil
- haskell-indexer-pipeline-ghckythe
- haskell-indexer-pipeline-ghckythe-wrapper
- haskell-indexer-translate
- kythe-proto
- kythe-schema
- text-offset
extra-deps:
# proto-lens is not yet in Stackage.
- proto-lens-0.1.0.4
- proto-lens-combinators-0.1.0.4
- proto-lens-protoc-0.1.0.4
# Allow our custom Setup.hs scripts to import Data.ProtoLens.Setup from the version of
# `proto-lens-protoc` in stack's local DB. See:
# https://github.com/google/proto-lens/blob/master/README.md#using-cabal
explicit-setup-deps:
"*": true
# Use the dockerized build if you want to use ghc_kythe_wrapper to index
# packages build in a respective fpco/stack-build based image. Like indexing
# all of stackage, or your hermetic packages.
#
# See build-stack-docker.sh for details.
docker:
# Use 'stack --docker build' on command line instead.
enable: false
# fpco/stack-build based image with protoc. Not in any repository, see above
# mentioned script which builds it.
image: hsidx-build
nix:
packages: [gcc, protobuf3_2]