Skip to content

Commit 1ae8cc8

Browse files
committed
Debugging
1 parent 298f236 commit 1ae8cc8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

modules/hooks.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3235,8 +3235,10 @@ lib.escapeShellArgs (lib.concatMap (ext: [ "--ghc-opt" "-X${ext}" ]) hooks.ormol
32353235
opentofu_or_terraform() {
32363236
local bin_dir=${hooks.terraform-format.package}
32373237
if [ -f "''${bin_dir}/bin/tofu" ]; then
3238+
echo "Using OpenTofu"
32383239
''${bin_dir}/bin/tofu "$@"
32393240
else
3241+
echo "Using Terraform"
32403242
''${bin_dir}/bin/terraform "$@"
32413243
fi
32423244
}

0 commit comments

Comments
 (0)