diff options
author | stuebinm <stuebinm@disroot.org> | 2024-03-19 03:14:51 +0100 |
---|---|---|
committer | stuebinm <stuebinm@disroot.org> | 2024-03-19 03:14:51 +0100 |
commit | ff1a94e523ae9fb272e0581f068baee5d1068476 (patch) | |
tree | cbea47f2004a4fa8685163d630612cf748e72c1e /pkgs/development/compilers/idris2 | |
parent | b06025f1533a1e07b6db3e75151caa155d1c7eb3 (diff) |
treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
Diffstat (limited to 'pkgs/development/compilers/idris2')
-rw-r--r-- | pkgs/development/compilers/idris2/idris2-lsp.nix | 1 | ||||
-rw-r--r-- | pkgs/development/compilers/idris2/idris2.nix | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/development/compilers/idris2/idris2-lsp.nix b/pkgs/development/compilers/idris2/idris2-lsp.nix index a9587588417a..095b973cc0cb 100644 --- a/pkgs/development/compilers/idris2/idris2-lsp.nix +++ b/pkgs/development/compilers/idris2/idris2-lsp.nix @@ -43,6 +43,7 @@ let meta = with lib; { description = "Language Server for Idris2"; + mainProgram = "idris2-lsp"; homepage = "https://github.com/idris-community/idris2-lsp"; license = licenses.bsd3; maintainers = with maintainers; [ mattpolzin ]; diff --git a/pkgs/development/compilers/idris2/idris2.nix b/pkgs/development/compilers/idris2/idris2.nix index 88c4d05703cf..421fb93cf03b 100644 --- a/pkgs/development/compilers/idris2/idris2.nix +++ b/pkgs/development/compilers/idris2/idris2.nix @@ -89,6 +89,7 @@ in stdenv.mkDerivation rec { meta = { description = "A purely functional programming language with first class types"; + mainProgram = "idris2"; homepage = "https://github.com/idris-lang/Idris2"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ fabianhjr wchresta mattpolzin ]; |