3
0
Fork 0
forked from mirrors/nixpkgs

zsh: 5.8 -> 5.8.1

Fixes: CVE-2021-45444
This commit is contained in:
Alyssa Ross 2022-03-07 12:09:53 +00:00
parent 6d48ecf2dd
commit b0a871a3ec

View file

@ -13,7 +13,7 @@
, buildPackages }:
let
version = "5.8";
version = "5.8.1";
in
stdenv.mkDerivation {
@ -22,19 +22,12 @@ stdenv.mkDerivation {
src = fetchurl {
url = "mirror://sourceforge/zsh/zsh-${version}.tar.xz";
sha256 = "09yyaadq738zlrnlh1hd3ycj1mv3q5hh4xl1ank70mjnqm6bbi6w";
sha256 = "sha256-tpc1ILrOYAtHeSACabHl155fUFrElSBYwRrVu/DdmRk=";
};
patches = [
# fix location of timezone data for TZ= completion
./tz_completion.patch
# This commit will be released with the next version of zsh
(fetchpatch {
name = "fix-git-stash-drop-completions.patch";
url = "https://github.com/zsh-users/zsh/commit/754658aff38e1bdf487c58bec6174cbecd019d11.patch";
sha256 = "sha256-ud/rLD+SqvyTzT6vwOr+MWH+LY5o5KACrU1TpmL15Lo=";
excludes = [ "ChangeLog" ];
})
];
nativeBuildInputs = [ autoreconfHook perl groff texinfo ]