From e78fd27d1d9ee3ebcf608aea5b82c1b1547ac2b0 Mon Sep 17 00:00:00 2001 From: Thomas Butter Date: Sun, 21 Jun 2026 20:44:46 +0000 Subject: [PATCH] opentofu: 1.12.1 -> 1.12.3 --- pkgs/by-name/op/opentofu/package.nix | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/pkgs/by-name/op/opentofu/package.nix b/pkgs/by-name/op/opentofu/package.nix index bb65a9ea549a..b0399e076f00 100644 --- a/pkgs/by-name/op/opentofu/package.nix +++ b/pkgs/by-name/op/opentofu/package.nix @@ -16,16 +16,16 @@ let package = buildGoModule rec { pname = "opentofu"; - version = "1.12.1"; + version = "1.12.3"; src = fetchFromGitHub { owner = "opentofu"; repo = "opentofu"; tag = "v${version}"; - hash = "sha256-zD1oYHftqBrHGgF8QDHe+2VSfuKLi8ZhocD+0pL9mlI="; + hash = "sha256-/Or8+rMsGbZ9aY/oSOqHH0vMFx9Pl0ZRa9KrVJ4X8Ls="; }; - vendorHash = "sha256-fsAdTkCU1C6iCKMRc+NRKqfHJ5FczUISfO+g4wGnMJw="; + vendorHash = "sha256-t4RVH90TSTwxNPR2tKQsk8qd6d2OP8MmjAjgIZx7OVY="; ldflags = [ "-s" "-w" @@ -36,6 +36,11 @@ let nativeBuildInputs = [ installShellFiles ]; patches = [ ./provider-path-1_12.patch ]; + postPatch = '' + substituteInPlace go.mod \ + --replace-fail "go 1.26.4" "go 1.26.3" + ''; + passthru = { inherit plugins; tests = {