Skip to content

Commit

Permalink
Merge pull request tweag#157 from tweag/bazel_4
Browse files Browse the repository at this point in the history
Update bazel 3.7.2 --> 4.0.0
  • Loading branch information
Théophane Hufschmitt authored Mar 18, 2021
2 parents c840dd3 + 1e1f0fa commit 6e0df3d
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -241,10 +241,10 @@ sh_posix_configure()

http_archive(
name = "io_bazel_rules_go",
sha256 = "7904dbecbaffd068651916dce77ff3437679f9d20e1a7956bff43826e7645fcc",
sha256 = "7c10271940c6bce577d51a075ae77728964db285dac0a46614a7934dc34303e6",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.25.1/rules_go-v0.25.1.tar.gz",
"https://github.com/bazelbuild/rules_go/releases/download/v0.25.1/rules_go-v0.25.1.tar.gz",
"https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.26.0/rules_go-v0.26.0.tar.gz",
"https://github.com/bazelbuild/rules_go/releases/download/v0.26.0/rules_go-v0.26.0.tar.gz",
],
)

Expand Down
4 changes: 2 additions & 2 deletions nixpkgs.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"owner": "NixOS",
"repo": "nixpkgs",
"branch": "nixpkgs-unstable",
"rev": "24e5fe6075bc7a137bb701eb8a378f5a8689e10d",
"sha256": "1bkjh566r1bpbddz6fjhccn872p1dlvg5fwq9j2qdj4b5q2pmljc"
"rev": "ad4db3f4d8ae54482c63c31c14921cb73953548d",
"sha256": "1fwl898f6wznkjpwq11brgadz6iff5w5f4lwj2l7ax2rz7r03mnn"
}
2 changes: 1 addition & 1 deletion nixpkgs.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
let
# nixpkgs-unstable as of 2021-02-04
# nixpkgs-unstable as of 2021-02-19
spec = builtins.fromJSON (builtins.readFile ./nixpkgs.json);
nixpkgs = fetchTarball {
url = "https://github.com/${spec.owner}/${spec.repo}/archive/${spec.rev}.tar.gz";
Expand Down
6 changes: 3 additions & 3 deletions nixpkgs/repositories.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ def rules_nixpkgs_dependencies():
http_archive,
"platforms",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/platforms/releases/download/0.0.3/platforms-0.0.3.tar.gz",
"https://github.com/bazelbuild/platforms/releases/download/0.0.3/platforms-0.0.3.tar.gz",
"https://mirror.bazel.build/github.com/bazelbuild/platforms/releases/download/0.0.4/platforms-0.0.4.tar.gz",
"https://github.com/bazelbuild/platforms/releases/download/0.0.4/platforms-0.0.4.tar.gz",
],
sha256 = "460caee0fa583b908c622913334ec3c1b842572b9c23cf0d3da0c2543a1a157d",
sha256 = "079945598e4b6cc075846f7fd6a9d0857c33a7afc0de868c2ccb96405225135d",
)
maybe(
http_archive,
Expand Down
2 changes: 1 addition & 1 deletion shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ with pkgs;

mkShell {
buildInputs = [
bazel
bazel_4
cacert
gcc
nix
Expand Down

0 comments on commit 6e0df3d

Please sign in to comment.