diff --git a/pkgs/applications/networking/cluster/opentofu/default.nix b/pkgs/applications/networking/cluster/opentofu/default.nix index 86e7e7f62166..b97e565b54c4 100644 --- a/pkgs/applications/networking/cluster/opentofu/default.nix +++ b/pkgs/applications/networking/cluster/opentofu/default.nix @@ -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.