mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 06:45:54 +03:00
terraform-providers.template: build with Go module
This commit is contained in:
parent
b98455973d
commit
ba45f19dc7
@ -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 {};
|
||||
|
@ -909,6 +909,7 @@
|
||||
"repo": "terraform-provider-template",
|
||||
"rev": "v2.2.0",
|
||||
"sha256": "12pn1i06jz4xl50md94yfdggg3pg5bv1viwf35izizm5rnyksyv2",
|
||||
"vendorSha256": null,
|
||||
"version": "2.2.0"
|
||||
},
|
||||
"tencentcloud": {
|
||||
|
Loading…
Reference in New Issue
Block a user