diff --git a/overlays/terraform-provider-influxdb-v2.nix b/overlays/terraform-provider-influxdb-v2.nix index 6f8caf3..e3f5d2c 100644 --- a/overlays/terraform-provider-influxdb-v2.nix +++ b/overlays/terraform-provider-influxdb-v2.nix @@ -3,21 +3,17 @@ flake.overlays.terraform-provider-influxdb-v2 = final: prev: { - terraform = prev.terraform.overrideAttrs (old: { - passthru.plugins = - old.passthru.plugins - // { - influxdb-v2 = - old.passthru.plugins.mkProvider { - owner = "MagicRB"; - repo = "terraform-provider-influxdb-v2"; - rev = "4f10e465f9526b47d1ef97a8f2e109aa85a7d647"; - version = "0.4.6"; - hash = "sha256-/IQoA1CwYIafHbHKSZq7pZKFxefgd09fm0lnBW3r11Q="; - vendorHash = "sha256-g7Njs7psHFFSWk44CiV+blLrzpnB+L9HgMTx3lLMA8Q="; - provider-source-address = "registry.terraform.io/MagicRB/influxdb-v2"; - }; + terraform-providers = prev.terraform-providers // { + influxdb-v2 = + prev.terraform-providers.mkProvider { + owner = "MagicRB"; + repo = "terraform-provider-influxdb-v2"; + rev = "4f10e465f9526b47d1ef97a8f2e109aa85a7d647"; + version = "0.4.6"; + hash = "sha256-/IQoA1CwYIafHbHKSZq7pZKFxefgd09fm0lnBW3r11Q="; + vendorHash = "sha256-g7Njs7psHFFSWk44CiV+blLrzpnB+L9HgMTx3lLMA8Q="; + provider-source-address = "registry.terraform.io/MagicRB/influxdb-v2"; }; - } ); + }; }; }