Skip to content

Commit 76f7b1c

Browse files
authored
Merge pull request #1307 from tweag/bazel-update
Update bazel 2.0.0 --> 2.1.0
2 parents cf6beb4 + 86339f3 commit 76f7b1c

14 files changed

+18
-17
lines changed

.ci/bazel-2.0.0-darwin-x86_64.sha256

Lines changed: 0 additions & 1 deletion
This file was deleted.

.ci/bazel-2.0.0-linux-x86_64.sha256

Lines changed: 0 additions & 1 deletion
This file was deleted.

.ci/bazel-2.0.0-windows-x86_64.exe.sha256

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
95e00aa0611eb657f3f09e2eb03b8d837a29fcca52a17ebad13f40883ac20647 bazel-2.1.0-darwin-x86_64
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
e13581d44faad6ac807dd917e682fef20359d26728166ac35dadd8ee653a580d bazel-2.1.0-linux-x86_64
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ee50e52d630ff15efaf0920c22d99839cefb6aafe909554fbd0419fadbb91105 bazel-2.1.0-windows-x86_64.exe

.ci/bazelversion

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.0.0
1+
2.1.0

.ci/update-bazel-version

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@ if [[ $# -ne 1 ]]; then
1616
fi
1717

1818
VERSION="$1"
19-
echo "$VERSION" >"$TOP/.ci/bazelversion"
2019
mkdir -p "$TOP/.ci"
20+
echo "$VERSION" >"$TOP/.ci/bazelversion"
21+
rm -f "$TOP"/.ci/bazel-*.sha256
2122
for OSEXT in windows-x86_64.exe linux-x86_64 darwin-x86_64; do
2223
URL="https://github.com/bazelbuild/bazel/releases/download/$VERSION/bazel-$VERSION-$OSEXT.sha256"
2324
(cd "$TOP/.ci" && curl -LO "$URL")

WORKSPACE

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -124,11 +124,6 @@ load(
124124
"nixpkgs_python_configure",
125125
)
126126

127-
nixpkgs_package(
128-
name = "ghc",
129-
repository = "@nixpkgs_default",
130-
)
131-
132127
http_archive(
133128
name = "rules_proto",
134129
sha256 = "73ebe9d15ba42401c785f9d0aeebccd73bd80bf6b8ac78f74996d31f2c0ad7a6",
@@ -180,7 +175,7 @@ load(
180175
)
181176

182177
haskell_register_ghc_nixpkgs(
183-
attribute_path = "ghc",
178+
attribute_path = "haskell.compiler.ghc865",
184179
compiler_flags = test_compiler_flags,
185180
haddock_flags = test_haddock_flags,
186181
locale_archive = "@glibc_locales//:locale-archive",
@@ -237,13 +232,13 @@ cc_library(
237232

238233
nixpkgs_package(
239234
name = "c2hs",
240-
attribute_path = "haskellPackages.c2hs",
235+
attribute_path = "haskell.packages.ghc865.c2hs",
241236
repository = "@nixpkgs_default",
242237
)
243238

244239
nixpkgs_package(
245240
name = "doctest",
246-
attribute_path = "haskellPackages.doctest",
241+
attribute_path = "haskell.packages.ghc865.doctest",
247242
repository = "@nixpkgs_default",
248243
)
249244

examples/WORKSPACE

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ rules_haskell_dependencies()
1313
load("@rules_haskell//haskell:nixpkgs.bzl", "haskell_register_ghc_nixpkgs")
1414

1515
haskell_register_ghc_nixpkgs(
16+
attribute_path = "haskell.compiler.ghc865",
1617
repository = "@rules_haskell//nixpkgs:default.nix",
1718
version = "8.6.5",
1819
)

0 commit comments

Comments
 (0)