Skip to content

Commit

Permalink
Use place holder values for rules_haskell attrs in start script and docs
Browse files Browse the repository at this point in the history
This ensures that we don't accidentally run tests on old releases.
  • Loading branch information
avdv committed Sep 23, 2024
1 parent 5ec59ba commit 250d368
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions docs/haskell-use-cases.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ rules_haskell. To use a released version, do the following::

http_archive(
name = "rules_haskell",
sha256 = "34742848a8882d94a0437b3b1917dea6f58c82fe5762afe8d249d3a36e51935d",
strip_prefix = "rules_haskell-0.19",
url = "https://github.com/tweag/rules_haskell/releases/download/v0.19/rules_haskell-0.19.tar.gz",
sha256 = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
strip_prefix = "rules_haskell-M.NN",
url = "https://github.com/tweag/rules_haskell/releases/download/vM.NN/rules_haskell-M.NN.tar.gz",
)

Picking a compiler
Expand Down
8 changes: 4 additions & 4 deletions start
Original file line number Diff line number Diff line change
Expand Up @@ -251,9 +251,9 @@ load(
# Download rules_haskell and make it accessible as "@rules_haskell".
http_archive(
name = "rules_haskell",
sha256 = "34742848a8882d94a0437b3b1917dea6f58c82fe5762afe8d249d3a36e51935d",
strip_prefix = "rules_haskell-0.19",
url = "https://github.com/tweag/rules_haskell/releases/download/v0.19/rules_haskell-0.19.tar.gz",
sha256 = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
strip_prefix = "rules_haskell-M.NN",
url = "https://github.com/tweag/rules_haskell/releases/download/vM.NN/rules_haskell-M.NN.tar.gz",
)
load(
Expand Down Expand Up @@ -376,7 +376,7 @@ if $BZLMOD; then
cat >MODULE.bazel <<EOF
module(name = "your_project_name_here", version = "0.1")
bazel_dep(name = "rules_haskell", version = "0.19")
bazel_dep(name = "rules_haskell", version = "0.0")
bazel_dep(name = "rules_cc", version = "0.0.9")
haskell_toolchains = use_extension(
Expand Down

0 comments on commit 250d368

Please sign in to comment.