terraform-providers.template: build with Go module

This commit is contained in:
Timothy Stott 2020-11-14 16:49:59 +00:00 committed by Jonathan Ringer
parent b98455973d
commit ba45f19dc7
2 changed files with 1 additions and 8 deletions

View File

@ -128,14 +128,6 @@ let
'';
});
# https://github.com/hashicorp/terraform-provider-template/pull/79
template = automated-providers.template.overrideAttrs (attrs: {
prePatch = attrs.prePatch or "" + ''
substituteInPlace go.mod --replace terraform-providers/terraform-provider-template hashicorp/terraform-provider-template
substituteInPlace main.go --replace terraform-providers/terraform-provider-template hashicorp/terraform-provider-template
'';
});
# Packages that don't fit the default model
ansible = callPackage ./ansible {};
cloudfoundry = callPackage ./cloudfoundry {};

View File

@ -909,6 +909,7 @@
"repo": "terraform-provider-template",
"rev": "v2.2.0",
"sha256": "12pn1i06jz4xl50md94yfdggg3pg5bv1viwf35izizm5rnyksyv2",
"vendorSha256": null,
"version": "2.2.0"
},
"tencentcloud": {