diff --git a/pkgs/applications/networking/cluster/terraform/default.nix b/pkgs/applications/networking/cluster/terraform/default.nix index 81f9159c230a..6a722b80b834 100644 --- a/pkgs/applications/networking/cluster/terraform/default.nix +++ b/pkgs/applications/networking/cluster/terraform/default.nix @@ -12,18 +12,18 @@ }: let - generic = { version, sha256, vendorSha256 ? null, ... }@attrs: - let attrs' = builtins.removeAttrs attrs [ "version" "sha256" "vendorSha256" ]; + generic = { version, hash, vendorHash ? null, ... }@attrs: + let attrs' = builtins.removeAttrs attrs [ "version" "hash" "vendorHash" ]; in buildGoModule ({ pname = "terraform"; - inherit version vendorSha256; + inherit version vendorHash; src = fetchFromGitHub { owner = "hashicorp"; repo = "terraform"; rev = "v${version}"; - inherit sha256; + inherit hash; }; ldflags = [ "-s" "-w" ]; @@ -168,9 +168,9 @@ rec { mkTerraform = attrs: pluggable (generic attrs); terraform_1 = mkTerraform { - version = "1.3.8"; - sha256 = "sha256-AXLk5s3qu3QZ1aXx/FwPNq3hM26skBj0wyn/x8nVMkE="; - vendorSha256 = "sha256-CE6jNBvM0980+R0e5brK5lMrkad+91qTt9mp2h3NZyY="; + version = "1.3.9"; + hash = "sha256-gwuUdO9m4Q2tFRLSVTbcsclOq9jcbQU4JV9nIElTkQ4="; + vendorHash = "sha256-CE6jNBvM0980+R0e5brK5lMrkad+91qTt9mp2h3NZyY="; patches = [ ./provider-path-0_15.patch ]; passthru = { inherit plugins;