about summary refs log tree commit diff
path: root/pkgs/development/tools/hclfmt
diff options
context:
space:
mode:
authorzowoq <59103226+zowoq@users.noreply.github.com>2023-08-05 11:57:13 +1000
committerzowoq <59103226+zowoq@users.noreply.github.com>2023-08-05 13:08:04 +1000
commit088060ab698babc0c469fb420d6f3b5dc72d6dc6 (patch)
tree228f24346bfa28b6e20bfb83f29de5f72f2dfae5 /pkgs/development/tools/hclfmt
parent44c0f1c89bf1bcf8cfac6996f212cf38edd31ac4 (diff)
hclfmt: add meta.mainProgram
Diffstat (limited to 'pkgs/development/tools/hclfmt')
-rw-r--r--pkgs/development/tools/hclfmt/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/development/tools/hclfmt/default.nix b/pkgs/development/tools/hclfmt/default.nix
index ce2baa4fe3d5e..c479ef547b60f 100644
--- a/pkgs/development/tools/hclfmt/default.nix
+++ b/pkgs/development/tools/hclfmt/default.nix
@@ -21,6 +21,7 @@ buildGoModule rec {
     description = "a code formatter for the Hashicorp Configuration Language (HCL) format";
     homepage = "https://github.com/hashicorp/hcl/tree/main/cmd/hclfmt";
     license = licenses.mpl20;
+    mainProgram = "hclfmt";
     maintainers = with maintainers; [ zimbatm ];
   };
 }