opentofu: fix passthru.full
This commit is contained in:
parent
3f7f9dbcc5
commit
97830cbb02
1 changed files with 3 additions and 2 deletions
|
@ -36,7 +36,7 @@ let
|
|||
patches = [ ./provider-path-0_15.patch ];
|
||||
|
||||
passthru = {
|
||||
inherit plugins withPlugins;
|
||||
inherit full plugins withPlugins;
|
||||
tests = { inherit opentofu_plugins_test; };
|
||||
};
|
||||
|
||||
|
@ -66,6 +66,8 @@ let
|
|||
};
|
||||
};
|
||||
|
||||
full = withPlugins (p: lib.filter lib.isDerivation (lib.attrValues p.actualProviders));
|
||||
|
||||
opentofu_plugins_test = let
|
||||
mainTf = writeText "main.tf" ''
|
||||
terraform {
|
||||
|
@ -109,7 +111,6 @@ let
|
|||
passthru = {
|
||||
withPlugins = newplugins:
|
||||
withPlugins (x: newplugins x ++ actualPlugins);
|
||||
full = withPlugins (p: lib.filter lib.isDerivation (lib.attrValues p.actualProviders));
|
||||
|
||||
# Expose wrappers around the override* functions of the terraform
|
||||
# derivation.
|
||||
|
|
Loading…
Reference in a new issue