about summary refs log tree commit diff
path: root/pkgs/applications/networking/cluster/opentofu
diff options
context:
space:
mode:
authorNick Cao <nickcao@nichi.co>2024-04-30 14:34:38 -0400
committerNick Cao <nickcao@nichi.co>2024-04-30 14:34:38 -0400
commit252f8d3423479b53dda86716b78a089188dfd925 (patch)
treea3fbf2bef6a0ae9102708769d932b52bd2b66baa /pkgs/applications/networking/cluster/opentofu
parentaadbdc7d48913fe887fbadeb374203e463457f7d (diff)
opentofu: update calls to substituteInPlace
Diffstat (limited to 'pkgs/applications/networking/cluster/opentofu')
-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 a31de9d98703f..2d9b07a3f88dc 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 ];