terraform-providers.null: build with Go module

This commit is contained in:
Timothy Stott 2020-11-14 16:45:52 +00:00 committed by Jonathan Ringer
parent fca860edaa
commit d4f3c08e26
2 changed files with 1 additions and 8 deletions

View file

@ -128,14 +128,6 @@ let
'';
});
# https://github.com/hashicorp/terraform-provider-null/pull/43
null = automated-providers.null.overrideAttrs (attrs: {
prePatch = attrs.prePatch or "" + ''
substituteInPlace go.mod --replace terraform-providers/terraform-provider-null hashicorp/terraform-provider-null
substituteInPlace main.go --replace terraform-providers/terraform-provider-null hashicorp/terraform-provider-null
'';
});
# https://github.com/hashicorp/terraform-provider-template/pull/79
template = automated-providers.template.overrideAttrs (attrs: {
prePatch = attrs.prePatch or "" + ''

View file

@ -617,6 +617,7 @@
"repo": "terraform-provider-null",
"rev": "v3.0.0",
"sha256": "0r1kvsc96922i85hdvf1pk8aicxjr6bc69gc63qi21hrl0jpvr7r",
"vendorSha256": null,
"version": "3.0.0"
},
"nutanix": {