From 4377259a93d6e3cfaf89612508ab2ba396e9e9f5 Mon Sep 17 00:00:00 2001 From: Timothy Stott Date: Sat, 14 Nov 2020 17:09:17 +0000 Subject: [PATCH] terraform-providers.external: 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 cdf61270de792..fbfdd7aa9606a 100644 --- a/pkgs/applications/networking/cluster/terraform-providers/default.nix +++ b/pkgs/applications/networking/cluster/terraform-providers/default.nix @@ -88,14 +88,6 @@ let # providers that were moved to the `hashicorp` organization, # but haven't updated their references yet: - # https://github.com/hashicorp/terraform-provider-external/pull/41 - external = automated-providers.external.overrideAttrs (attrs: { - prePatch = attrs.prePatch or "" + '' - substituteInPlace go.mod --replace terraform-providers/terraform-provider-external hashicorp/terraform-provider-external - substituteInPlace main.go --replace terraform-providers/terraform-provider-external hashicorp/terraform-provider-external - ''; - }); - # https://github.com/hashicorp/terraform-provider-helm/pull/522 helm = automated-providers.helm.overrideAttrs (attrs: { prePatch = attrs.prePatch or "" + '' diff --git a/pkgs/applications/networking/cluster/terraform-providers/providers.json b/pkgs/applications/networking/cluster/terraform-providers/providers.json index 9a7430111e011..7d2a31cc66d4c 100644 --- a/pkgs/applications/networking/cluster/terraform-providers/providers.json +++ b/pkgs/applications/networking/cluster/terraform-providers/providers.json @@ -298,6 +298,7 @@ "repo": "terraform-provider-external", "rev": "v2.0.0", "sha256": "16wciz08gicicsirij2ql0gy8dg0372jjsqmaigkl2n07mqz2b6a", + "vendorSha256": null, "version": "2.0.0" }, "fastly": {