about summary refs log tree commit diff
path: root/pkgs/shells
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2022-06-01 02:13:12 +0200
committerGitHub <noreply@github.com>2022-06-01 02:13:12 +0200
commit9024c69378a79a76ddd90412783de235f7b8d074 (patch)
tree3c0f1877cbdc2689f1b5d9110a0baf8c0a9a2c30 /pkgs/shells
parent2f18afa90c84f9a8201f944a03085a8a3901f658 (diff)
parentc8474bca5455d1a34fa99fbba497a3f4a488cd8e (diff)
Merge pull request #174721 from Artturin/zsh1
zsh: 5.8.1 -> 5.9 && add artturin to maintainers
Diffstat (limited to 'pkgs/shells')
-rw-r--r--pkgs/shells/zsh/default.nix8
1 files changed, 5 insertions, 3 deletions
diff --git a/pkgs/shells/zsh/default.nix b/pkgs/shells/zsh/default.nix
index f09a0672f19a6..e5967ac1f78be 100644
--- a/pkgs/shells/zsh/default.nix
+++ b/pkgs/shells/zsh/default.nix
@@ -13,7 +13,7 @@
 , buildPackages }:
 
 let
-  version = "5.8.1";
+  version = "5.9";
 in
 
 stdenv.mkDerivation {
@@ -22,7 +22,7 @@ stdenv.mkDerivation {
 
   src = fetchurl {
     url = "mirror://sourceforge/zsh/zsh-${version}.tar.xz";
-    sha256 = "sha256-tpc1ILrOYAtHeSACabHl155fUFrElSBYwRrVu/DdmRk=";
+    sha256 = "sha256-m40ezt1bXoH78ZGOh2dSp92UjgXBoNuhCrhjhC1FrNU=";
   };
 
   patches = [
@@ -82,6 +82,8 @@ EOF
       ${lib.getBin buildPackages.zsh}/bin/zsh -c "zcompile $out/etc/zprofile"
     ''}
     mv $out/etc/zprofile $out/etc/zprofile_zwc_is_used
+
+    rm $out/bin/zsh-${version}
   '';
   # XXX: patch zsh to take zwc if newer _or equal_
 
@@ -97,7 +99,7 @@ EOF
     '';
     license = "MIT-like";
     homepage = "https://www.zsh.org/";
-    maintainers = with lib.maintainers; [ pSub ];
+    maintainers = with lib.maintainers; [ pSub artturin ];
     platforms = lib.platforms.unix;
   };