terraform-providers.archive: build with Go module

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

@ -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-archive/pull/67
archive = automated-providers.archive.overrideAttrs (attrs: {
prePatch = attrs.prePatch or "" + ''
substituteInPlace go.mod --replace terraform-providers/terraform-provider-archive hashicorp/terraform-provider-archive
substituteInPlace main.go --replace terraform-providers/terraform-provider-archive hashicorp/terraform-provider-archive
'';
});
# https://github.com/hashicorp/terraform-provider-external/pull/41
external = automated-providers.external.overrideAttrs (attrs: {
prePatch = attrs.prePatch or "" + ''

@ -35,6 +35,7 @@
"repo": "terraform-provider-archive",
"rev": "v2.0.0",
"sha256": "1d5n379zyjp2srg43g78a8h33qwcpkfkj7c35idvbyydi35vzlpl",
"vendorSha256": null,
"version": "2.0.0"
},
"arukas": {

Loading…
Cancel
Save