opentofu: fix passthru.full

This commit is contained in:
zowoq 2023-12-07 15:20:12 +10:00
parent 3f7f9dbcc5
commit 97830cbb02

View file

@ -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.