diff --git a/WORKSPACE b/WORKSPACE index 713b28b..d054896 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -115,7 +115,10 @@ http_archive( load("@rules_nixpkgs_go//:go.bzl", "nixpkgs_go_configure") -nixpkgs_go_configure(repository = "@nixpkgs") +nixpkgs_go_configure( + attribute_path = "go_1_20", + repository = "@nixpkgs", +) load("@io_bazel_rules_go//go:deps.bzl", "go_rules_dependencies") diff --git a/example/WORKSPACE b/example/WORKSPACE index ba1ebd1..5f2cd98 100644 --- a/example/WORKSPACE +++ b/example/WORKSPACE @@ -95,7 +95,10 @@ http_archive( load("@rules_nixpkgs_go//:go.bzl", "nixpkgs_go_configure") -nixpkgs_go_configure(repository = "@nixpkgs") +nixpkgs_go_configure( + attribute_path = "go_1_20", + repository = "@nixpkgs", +) load("@io_bazel_rules_go//go:deps.bzl", "go_rules_dependencies") diff --git a/tests/alternative-deps/WORKSPACE b/tests/alternative-deps/WORKSPACE index 9638052..7c70ba3 100644 --- a/tests/alternative-deps/WORKSPACE +++ b/tests/alternative-deps/WORKSPACE @@ -106,7 +106,10 @@ http_archive( load("@rules_nixpkgs_go//:go.bzl", "nixpkgs_go_configure") -nixpkgs_go_configure(repository = "@nixpkgs") +nixpkgs_go_configure( + attribute_path = "go_1_20", + repository = "@nixpkgs", +) load("@io_bazel_rules_go//go:deps.bzl", "go_rules_dependencies")