about summary refs log tree commit diff
path: root/pkgs/shells
diff options
context:
space:
mode:
authorMalo Bourgon <mbourgon@gmail.com>2022-04-01 12:34:55 -0700
committerMalo Bourgon <mbourgon@gmail.com>2022-04-14 10:24:01 -0700
commit0e802eafad4b61b70f92534039fc3759d284db7b (patch)
tree1f388a7de5cb68d27d4ee6ee29e3c97c93821990 /pkgs/shells
parent0c1bb90ec545b0ef4531fe7f26eb9eb5eaa32792 (diff)
treewide: add meta.mainProgram to many packages
Diffstat (limited to 'pkgs/shells')
-rw-r--r--pkgs/shells/fish/oh-my-fish/default.nix1
-rw-r--r--pkgs/shells/powershell/default.nix1
2 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/shells/fish/oh-my-fish/default.nix b/pkgs/shells/fish/oh-my-fish/default.nix
index e0dca9419ebcc..3ec4e3b12d78e 100644
--- a/pkgs/shells/fish/oh-my-fish/default.nix
+++ b/pkgs/shells/fish/oh-my-fish/default.nix
@@ -54,6 +54,7 @@ stdenv.mkDerivation rec {
     '';
     license = licenses.mit;
     maintainers = with maintainers; [ AndersonTorres ];
+    mainProgram = "omf-install";
     platforms = fish.meta.platforms;
   };
 }
diff --git a/pkgs/shells/powershell/default.nix b/pkgs/shells/powershell/default.nix
index 6dbb9fa7625b2..a2fe61c332304 100644
--- a/pkgs/shells/powershell/default.nix
+++ b/pkgs/shells/powershell/default.nix
@@ -73,6 +73,7 @@ stdenv.mkDerivation rec {
     description = "Powerful cross-platform (Windows, Linux, and macOS) shell and scripting language based on .NET";
     homepage = "https://github.com/PowerShell/PowerShell";
     maintainers = with maintainers; [ yrashk srgom p3psi ];
+    mainProgram = "pwsh";
     platforms = [ "x86_64-darwin" "x86_64-linux" "aarch64-linux" "aarch64-darwin" ];
     license = with licenses; [ mit ];
   };