diff --git a/examples/WORKSPACE b/examples/WORKSPACE index b6f055ede9..65ae2c98e2 100644 --- a/examples/WORKSPACE +++ b/examples/WORKSPACE @@ -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"}, ) diff --git a/start b/start index 81ab13a48f..04214a0b63 100755 --- a/start +++ b/start @@ -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)