terraform: add the version component to terraform provider paths (#34497)
Terraform checks the provider versions, but this breaks if the versions are not provided, as they can be, if the plugins are provided by nix.
This commit is contained in:
parent
edeacd00ad
commit
4e63119c54
@ -11,6 +11,10 @@ let
|
|||||||
inherit owner repo sha256;
|
inherit owner repo sha256;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Terraform allow checking the provider versions, but this breaks
|
||||||
|
# if the versions are not provided via file paths.
|
||||||
|
postBuild = "mv go/bin/${repo}{,_v${version}}";
|
||||||
};
|
};
|
||||||
|
|
||||||
maybeDrv = name: data:
|
maybeDrv = name: data:
|
||||||
|
Loading…
Reference in New Issue
Block a user