From fca860edaab7c949f436f8757bf3845c979aa94e Mon Sep 17 00:00:00 2001 From: Timothy Stott Date: Sat, 14 Nov 2020 16:41:56 +0000 Subject: [PATCH] terraform-providers.random: 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 a91f352be54aad..06cc94701077e3 100644 --- a/pkgs/applications/networking/cluster/terraform-providers/default.nix +++ b/pkgs/applications/networking/cluster/terraform-providers/default.nix @@ -136,14 +136,6 @@ let ''; }); - # https://github.com/hashicorp/terraform-provider-random/pull/107 - random = automated-providers.random.overrideAttrs (attrs: { - prePatch = attrs.prePatch or "" + '' - substituteInPlace go.mod --replace terraform-providers/terraform-provider-random hashicorp/terraform-provider-random - substituteInPlace main.go --replace terraform-providers/terraform-provider-random hashicorp/terraform-provider-random - ''; - }); - # https://github.com/hashicorp/terraform-provider-template/pull/79 template = automated-providers.template.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 bf5f9502c0503f..ca46e7bdc2620e 100644 --- a/pkgs/applications/networking/cluster/terraform-providers/providers.json +++ b/pkgs/applications/networking/cluster/terraform-providers/providers.json @@ -787,6 +787,7 @@ "repo": "terraform-provider-random", "rev": "v3.0.0", "sha256": "00dkpcri9ckp0kxwgh3p8175cyd44m8z13cb013pm4mrr61n4wq9", + "vendorSha256": null, "version": "3.0.0" }, "rightscale": {