about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNick Cao <nickcao@nichi.co>2024-04-30 14:34:38 -0400
committerteutat3s <10206665+teutat3s@users.noreply.github.com>2024-05-02 20:03:20 +0200
commita5b2bc96d996084c888dcad2a434c06b903e3371 (patch)
tree4e68d5f6b1934fc891f773509b506d178a0cafb2
parenteab6b4cb61662be34494f333e9ca51f5c425255c (diff)
opentofu: update calls to substituteInPlace
(cherry picked from commit 252f8d3423479b53dda86716b78a089188dfd925)
-rw-r--r--pkgs/applications/networking/cluster/opentofu/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/networking/cluster/opentofu/default.nix b/pkgs/applications/networking/cluster/opentofu/default.nix
index a31de9d98703..2d9b07a3f88d 100644
--- a/pkgs/applications/networking/cluster/opentofu/default.nix
+++ b/pkgs/applications/networking/cluster/opentofu/default.nix
@@ -29,7 +29,7 @@ let
     postConfigure = ''
       # speakeasy hardcodes /bin/stty https://github.com/bgentry/speakeasy/issues/22
       substituteInPlace vendor/github.com/bgentry/speakeasy/speakeasy_unix.go \
-        --replace "/bin/stty" "${coreutils}/bin/stty"
+        --replace-fail "/bin/stty" "${coreutils}/bin/stty"
     '';
 
     nativeBuildInputs = [ installShellFiles ];