From bed71fac1098827852ec94e684f1398fd6f03ddc Mon Sep 17 00:00:00 2001 From: legendofmiracles Date: Tue, 27 Apr 2021 18:46:23 +0200 Subject: [PATCH 1/2] ripgrep: add meta.mainProgram --- pkgs/tools/text/ripgrep/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/tools/text/ripgrep/default.nix b/pkgs/tools/text/ripgrep/default.nix index 8c9eef9cc3dd..6417fb0f93bc 100644 --- a/pkgs/tools/text/ripgrep/default.nix +++ b/pkgs/tools/text/ripgrep/default.nix @@ -51,5 +51,6 @@ rustPlatform.buildRustPackage rec { homepage = "https://github.com/BurntSushi/ripgrep"; license = with licenses; [ unlicense /* or */ mit ]; maintainers = with maintainers; [ tailhook globin ma27 zowoq ]; + mainProgram = "rg"; }; } From 56b1f085a138afc904aa2eacc63b79e9daa18484 Mon Sep 17 00:00:00 2001 From: legendofmiracles Date: Tue, 27 Apr 2021 18:49:10 +0200 Subject: [PATCH 2/2] ripgrep-all: add meta.mainProgram --- pkgs/tools/text/ripgrep-all/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/tools/text/ripgrep-all/default.nix b/pkgs/tools/text/ripgrep-all/default.nix index ec023dd72a32..0b324a0a772a 100644 --- a/pkgs/tools/text/ripgrep-all/default.nix +++ b/pkgs/tools/text/ripgrep-all/default.nix @@ -58,5 +58,6 @@ rustPlatform.buildRustPackage rec { homepage = "https://github.com/phiresky/ripgrep-all"; license = with licenses; [ agpl3Plus ]; maintainers = with maintainers; [ zaninime ma27 ]; + mainProgram = "rga"; }; }