terraform-providers.external: build with Go module

This commit is contained in:
Timothy Stott 2020-11-14 17:09:17 +00:00 committed by Jonathan Ringer
parent 6fc4083a26
commit 4377259a93
2 changed files with 1 additions and 8 deletions

@ -88,14 +88,6 @@ let
# providers that were moved to the `hashicorp` organization,
# but haven't updated their references yet:
# https://github.com/hashicorp/terraform-provider-external/pull/41
external = automated-providers.external.overrideAttrs (attrs: {
prePatch = attrs.prePatch or "" + ''
substituteInPlace go.mod --replace terraform-providers/terraform-provider-external hashicorp/terraform-provider-external
substituteInPlace main.go --replace terraform-providers/terraform-provider-external hashicorp/terraform-provider-external
'';
});
# https://github.com/hashicorp/terraform-provider-helm/pull/522
helm = automated-providers.helm.overrideAttrs (attrs: {
prePatch = attrs.prePatch or "" + ''

@ -298,6 +298,7 @@
"repo": "terraform-provider-external",
"rev": "v2.0.0",
"sha256": "16wciz08gicicsirij2ql0gy8dg0372jjsqmaigkl2n07mqz2b6a",
"vendorSha256": null,
"version": "2.0.0"
},
"fastly": {