terraform-providers.template: build with Go module

wip/yesman
Timothy Stott 4 years ago committed by Jonathan Ringer
parent b98455973d
commit ba45f19dc7
  1. 8
      pkgs/applications/networking/cluster/terraform-providers/default.nix
  2. 1
      pkgs/applications/networking/cluster/terraform-providers/providers.json

@ -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 {};

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

Loading…
Cancel
Save