Skip to content

Commit

Permalink
Revert to GHC 8.2/LTS-11, use a custom snapshot
Browse files Browse the repository at this point in the history
Note that the previous workaround for #4125
should no longer be necessary because:

1. Stack 1.9 will not suffer from that bug
2. To my knowledge, custom snapshots never suffered from that bug

Guess we'll find out when Travis takes a crack at this though!
  • Loading branch information
snoyberg committed Aug 13, 2018
1 parent 17e09b9 commit 75e11e3
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 5 deletions.
17 changes: 17 additions & 0 deletions snapshot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
resolver: lts-11.19
name: snapshot-for-building-stack-with-ghc-8.2.2

packages:
- Cabal-2.2.0.1@rev:0
- cabal-install-2.2.0.0@rev:1
- resolv-0.1.1.1@rev:0
- infer-license-0.2.0@rev:0
- hpack-0.29.6@rev:0
- http-api-data-0.3.8.1@rev:0
- githash-0.1.0.1@rev:0
- rio-orphans-0.1.1.0@sha256:15600084c56ef4e1f22ac2091d10fa6ed62f01f531d819c6a5a19492212a76c9

flags:
cabal-install:
# https://github.com/haskell/cabal/issues/4883
native-dns: false
6 changes: 1 addition & 5 deletions stack.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
resolver: lts-12.0
resolver: snapshot.yaml

# docker:
# enable: true
Expand All @@ -16,10 +16,6 @@ flags:
stack:
hide-dependency-versions: true
supported-build: true
extra-deps:
- infer-license-0.2.0@rev:0
- hpack-0.29.6@rev:0
- githash-0.1.0.1@rev:0

ghc-options:
"$locals": -fhide-source-paths

0 comments on commit 75e11e3

Please sign in to comment.