Skip to content

Commit

Permalink
Pin rules_haskell stack_snapshot repositories
Browse files Browse the repository at this point in the history
  • Loading branch information
aherrmann committed Jun 30, 2020
1 parent 8c583b7 commit a818cca
Show file tree
Hide file tree
Showing 4 changed files with 223 additions and 0 deletions.
3 changes: 3 additions & 0 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ stack_snapshot(
],
setup_deps = {"polysemy": ["cabal-doctest"]},
snapshot = test_stack_snapshot,
stack_snapshot_json = "//:stackage_snapshot.json",
tools = [
# This is not required, as `stack_snapshot` would build alex
# automatically, however it is used as a test for user provided
Expand All @@ -100,6 +101,7 @@ stack_snapshot(
extra_deps = {"zlib": ["@zlib.dev//:zlib" if is_nix_shell else "@zlib.hs//:zlib"]},
packages = ["zlib"],
snapshot = test_stack_snapshot,
stack_snapshot_json = "//:stackage-zlib-snapshot.json",
)

stack_snapshot(
Expand All @@ -112,6 +114,7 @@ stack_snapshot(
haddock = False,
local_snapshot = "//:ghcide-stack-snapshot.yaml",
packages = ["ghcide"],
stack_snapshot_json = "//:ghcide-snapshot.json",
)

load(
Expand Down
Loading

0 comments on commit a818cca

Please sign in to comment.