terraform-providers.random: build with Go module

This commit is contained in:
Timothy Stott 2020-11-14 16:41:56 +00:00 committed by Jonathan Ringer
parent 214f9d2a51
commit fca860edaa
2 changed files with 1 additions and 8 deletions

View file

@ -136,14 +136,6 @@ let
'';
});
# https://github.com/hashicorp/terraform-provider-random/pull/107
random = automated-providers.random.overrideAttrs (attrs: {
prePatch = attrs.prePatch or "" + ''
substituteInPlace go.mod --replace terraform-providers/terraform-provider-random hashicorp/terraform-provider-random
substituteInPlace main.go --replace terraform-providers/terraform-provider-random hashicorp/terraform-provider-random
'';
});
# https://github.com/hashicorp/terraform-provider-template/pull/79
template = automated-providers.template.overrideAttrs (attrs: {
prePatch = attrs.prePatch or "" + ''

View file

@ -787,6 +787,7 @@
"repo": "terraform-provider-random",
"rev": "v3.0.0",
"sha256": "00dkpcri9ckp0kxwgh3p8175cyd44m8z13cb013pm4mrr61n4wq9",
"vendorSha256": null,
"version": "3.0.0"
},
"rightscale": {