Skip to content

Commit

Permalink
terraform-providers.template: build with Go module
Browse files Browse the repository at this point in the history
  • Loading branch information
timstott authored and Jonathan Ringer committed Nov 24, 2020
1 parent b984559 commit ba45f19
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
Expand Up @@ -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 {};
Expand Down
Expand Up @@ -909,6 +909,7 @@
"repo": "terraform-provider-template",
"rev": "v2.2.0",
"sha256": "12pn1i06jz4xl50md94yfdggg3pg5bv1viwf35izizm5rnyksyv2",
"vendorSha256": null,
"version": "2.2.0"
},
"tencentcloud": {
Expand Down

0 comments on commit ba45f19

Please sign in to comment.