Skip to content

Commit

Permalink
Use go 1.20 for now
Browse files Browse the repository at this point in the history
Using go 1.21 fails with `GOPROXY list is not the empty string, but contains no entries`.

See tweag/rules_nixpkgs#417
  • Loading branch information
avdv committed Mar 19, 2024
1 parent deecf0f commit 9ca8c0f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ load(
"nixpkgs_go_configure",
)

nixpkgs_go_configure(repository = "@nixpkgs")
nixpkgs_go_configure(repository = "@nixpkgs", attribute_path = "go_1_20")

load("@io_bazel_rules_go//go:deps.bzl", "go_rules_dependencies")

Expand Down
2 changes: 1 addition & 1 deletion example/WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ load(
"nixpkgs_go_configure",
)

nixpkgs_go_configure(repository = "@nixpkgs")
nixpkgs_go_configure(repository = "@nixpkgs", attribute_path = "go_1_20")

load("@io_bazel_rules_go//go:deps.bzl", "go_rules_dependencies")

Expand Down
2 changes: 1 addition & 1 deletion tests/alternative-deps/WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ load(
"nixpkgs_go_configure",
)

nixpkgs_go_configure(repository = "@nixpkgs")
nixpkgs_go_configure(repository = "@nixpkgs", attribute_path = "go_1_20")

load("@io_bazel_rules_go//go:deps.bzl", "go_rules_dependencies")

Expand Down

0 comments on commit 9ca8c0f

Please sign in to comment.