summary refs log tree commit diff
path: root/pkgs/shells
diff options
context:
space:
mode:
authorLassulus <github@lassul.us>2022-04-15 09:28:00 +0100
committerGitHub <noreply@github.com>2022-04-15 09:28:00 +0100
commit92734ac39576f25ed685fcb58e0f0398a0f9e82d (patch)
tree517b7d277447c4bc406960ae6b81b3e614eacf3e /pkgs/shells
parent8885584bdfb80df04429d75441123c1aa745f65c (diff)
parent0e802eafad4b61b70f92534039fc3759d284db7b (diff)
downloadnixpkgs-92734ac39576f25ed685fcb58e0f0398a0f9e82d.tar
nixpkgs-92734ac39576f25ed685fcb58e0f0398a0f9e82d.tar.gz
nixpkgs-92734ac39576f25ed685fcb58e0f0398a0f9e82d.tar.bz2
nixpkgs-92734ac39576f25ed685fcb58e0f0398a0f9e82d.tar.lz
nixpkgs-92734ac39576f25ed685fcb58e0f0398a0f9e82d.tar.xz
nixpkgs-92734ac39576f25ed685fcb58e0f0398a0f9e82d.tar.zst
nixpkgs-92734ac39576f25ed685fcb58e0f0398a0f9e82d.zip
Merge pull request #166865 from malob/treewide-mainProgram
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 e0dca9419eb..3ec4e3b12d7 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 6dbb9fa7625..a2fe61c3323 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 ];
   };