terraform-providers.tls: build with Go module

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

View File

@ -136,14 +136,6 @@ let
'';
});
# https://github.com/hashicorp/terraform-provider-tls/pull/71
tls = automated-providers.tls.overrideAttrs (attrs: {
prePatch = attrs.prePatch or "" + ''
substituteInPlace go.mod --replace terraform-providers/terraform-provider-tls hashicorp/terraform-provider-tls
substituteInPlace main.go --replace terraform-providers/terraform-provider-tls hashicorp/terraform-provider-tls
'';
});
# Packages that don't fit the default model
ansible = callPackage ./ansible {};
cloudfoundry = callPackage ./cloudfoundry {};

View File

@ -946,6 +946,7 @@
"repo": "terraform-provider-tls",
"rev": "v3.0.0",
"sha256": "1p9d5wrr4xwf2i930zlcarm1zl8ysj3nyc6rrbhpxk04kr6ap0wz",
"vendorSha256": null,
"version": "3.0.0"
},
"triton": {