about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorPol Dellaiera <pol.dellaiera@protonmail.com>2024-05-31 22:50:10 +0200
committerGitHub <noreply@github.com>2024-05-31 22:50:10 +0200
commit158f2a4c46db4d32df9c61ebf7fdbb14073bd70b (patch)
tree3bfcf0e4016704ae5898c62e481924f43a70c441 /pkgs
parent1014ea3e585de5c409cce606e741e7276cfd5b33 (diff)
parent0f6db436e82c099db38baed2c70429655845521f (diff)
Merge pull request #316018 from khaneliman/mainprogram
bicep: add meta.mainProgram, cmake-format: add meta.mainProgram
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/by-name/bi/bicep/package.nix14
-rw-r--r--pkgs/development/tools/cmake-format/default.nix1
2 files changed, 9 insertions, 6 deletions
diff --git a/pkgs/by-name/bi/bicep/package.nix b/pkgs/by-name/bi/bicep/package.nix
index ea4688accef5a..bdfdd74606fdb 100644
--- a/pkgs/by-name/bi/bicep/package.nix
+++ b/pkgs/by-name/bi/bicep/package.nix
@@ -1,9 +1,10 @@
-{ lib
-, stdenv
-, buildDotnetModule
-, fetchFromGitHub
-, dotnetCorePackages
-, mono
+{
+  lib,
+  stdenv,
+  buildDotnetModule,
+  fetchFromGitHub,
+  dotnetCorePackages,
+  mono,
 }:
 
 buildDotnetModule rec {
@@ -39,5 +40,6 @@ buildDotnetModule rec {
     changelog = "https://github.com/Azure/bicep/releases/tag/v${version}";
     license = lib.licenses.mit;
     maintainers = with lib.maintainers; [ khaneliman ];
+    mainProgram = "bicep";
   };
 }
diff --git a/pkgs/development/tools/cmake-format/default.nix b/pkgs/development/tools/cmake-format/default.nix
index 85efc5f19ccfd..281f36dfe0070 100644
--- a/pkgs/development/tools/cmake-format/default.nix
+++ b/pkgs/development/tools/cmake-format/default.nix
@@ -31,6 +31,7 @@ buildPythonApplication rec {
     homepage = "https://github.com/cheshirekow/cmake_format";
     license = licenses.gpl3;
     maintainers = [ maintainers.tobim ];
+    mainProgram = "cmake-format";
     platforms = platforms.all;
   };
 }