terraform-providers.archive: build with Go module

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

View File

@ -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-archive/pull/67
archive = automated-providers.archive.overrideAttrs (attrs: {
prePatch = attrs.prePatch or "" + ''
substituteInPlace go.mod --replace terraform-providers/terraform-provider-archive hashicorp/terraform-provider-archive
substituteInPlace main.go --replace terraform-providers/terraform-provider-archive hashicorp/terraform-provider-archive
'';
});
# https://github.com/hashicorp/terraform-provider-external/pull/41
external = automated-providers.external.overrideAttrs (attrs: {
prePatch = attrs.prePatch or "" + ''

View File

@ -35,6 +35,7 @@
"repo": "terraform-provider-archive",
"rev": "v2.0.0",
"sha256": "1d5n379zyjp2srg43g78a8h33qwcpkfkj7c35idvbyydi35vzlpl",
"vendorSha256": null,
"version": "2.0.0"
},
"arukas": {