terraform-providers: use provider-source-address for updateScript

need to use the original owner/repo without any overrides, e.g. gitlab
This commit is contained in:
zowoq
2025-10-16 10:32:07 +10:00
parent d84222567f
commit 8f5d39e1f0
@@ -82,7 +82,9 @@ let
passthru = attrs // {
inherit provider-source-address;
updateScript = writeShellScript "update" ''
./pkgs/applications/networking/cluster/terraform-providers/update-provider "${owner}_${lib.removePrefix "terraform-provider-" repo}"
./pkgs/applications/networking/cluster/terraform-providers/update-provider "${
lib.replaceStrings [ "registry.terraform.io/" "/" ] [ "" "_" ] provider-source-address
}"
'';
};
}