terraform: fixup provider, provisioner binaries names.
The build for some reason produces binaries with the wrong name. Terraform expects all its plugins to have a name of the form `terraform-TYPE-NAME`. So we add the `terraform-` prefix manually.
This commit is contained in:
parent
ba08f0014d
commit
922383bb79
|
@ -3741,7 +3741,9 @@ let
|
||||||
disabled = isGo14 || isGo15;
|
disabled = isGo14 || isGo15;
|
||||||
sha256 = "1f1xm5pyz1hxqm2k74psanirpydf71pmxixplyc2x2w68hgjzi2l";
|
sha256 = "1f1xm5pyz1hxqm2k74psanirpydf71pmxixplyc2x2w68hgjzi2l";
|
||||||
|
|
||||||
buildInputs = [ ];
|
postInstall = ''
|
||||||
|
for i in $bin/bin/{provider,provisioner}-*; do mv $i $bin/bin/terraform-$(basename $i); done
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
testify = buildGoPackage rec {
|
testify = buildGoPackage rec {
|
||||||
|
|
Loading…
Reference in New Issue