Skip to content

Commit

Permalink
Show stack_snapshot pinning in start and examples
Browse files Browse the repository at this point in the history
  • Loading branch information
aherrmann committed Jun 30, 2020
1 parent a818cca commit 8c1a2fe
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
3 changes: 3 additions & 0 deletions examples/WORKSPACE
Expand Up @@ -107,5 +107,8 @@ stack_snapshot(
"text-show",
],
snapshot = "lts-14.0",
# Pin Stackage dependencies with `bazel run @stackage-unpinned//:pin`.
# And uncomment the following line.
# stack_snapshot_json = "//:stackage_snapshot.json",
vendored_packages = {"split": "@split//:split"},
)
8 changes: 6 additions & 2 deletions start
Expand Up @@ -271,8 +271,12 @@ stack_snapshot(
name = "stackage",
extra_deps = {"zlib": ["@zlib.dev//:zlib"]},
packages = ["zlib"],
snapshot = "lts-14.27", # Last snapshot published for ghc-8.6.5
# the default version picked up by rules_haskell
# Last snapshot published for ghc-8.6.5 the default version picked up by
# rules_haskell
snapshot = "lts-14.27",
# Pin Stackage dependencies with \`bazel run @stackage-unpinned//:pin\`.
# And uncomment the following line.
# stack_snapshot_json = "//:stackage_snapshot.json",
)
$(get_toolchain)
Expand Down

0 comments on commit 8c1a2fe

Please sign in to comment.