From ba45f19dc714974fdba7bd59e6ab4c90b9e40c64 Mon Sep 17 00:00:00 2001 From: Timothy Stott Date: Sat, 14 Nov 2020 16:49:59 +0000 Subject: [PATCH] terraform-providers.template: build with Go module --- .../networking/cluster/terraform-providers/default.nix | 8 -------- .../networking/cluster/terraform-providers/providers.json | 1 + 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/pkgs/applications/networking/cluster/terraform-providers/default.nix b/pkgs/applications/networking/cluster/terraform-providers/default.nix index a50a78ccffba65..d51e53f9c9bc15 100644 --- a/pkgs/applications/networking/cluster/terraform-providers/default.nix +++ b/pkgs/applications/networking/cluster/terraform-providers/default.nix @@ -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 {}; diff --git a/pkgs/applications/networking/cluster/terraform-providers/providers.json b/pkgs/applications/networking/cluster/terraform-providers/providers.json index 41470953844f15..00c9954ce785e7 100644 --- a/pkgs/applications/networking/cluster/terraform-providers/providers.json +++ b/pkgs/applications/networking/cluster/terraform-providers/providers.json @@ -909,6 +909,7 @@ "repo": "terraform-provider-template", "rev": "v2.2.0", "sha256": "12pn1i06jz4xl50md94yfdggg3pg5bv1viwf35izizm5rnyksyv2", + "vendorSha256": null, "version": "2.2.0" }, "tencentcloud": {