diff options
Diffstat (limited to 'nixpkgs/pkgs/shells/zsh/default.nix')
-rw-r--r-- | nixpkgs/pkgs/shells/zsh/default.nix | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/nixpkgs/pkgs/shells/zsh/default.nix b/nixpkgs/pkgs/shells/zsh/default.nix index 92eebfd95442..e0fd68f13b60 100644 --- a/nixpkgs/pkgs/shells/zsh/default.nix +++ b/nixpkgs/pkgs/shells/zsh/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, fetchurl, ncurses, pcre, buildPackages }: +{ lib, stdenv, fetchurl, fetchpatch, ncurses, pcre, buildPackages }: let version = "5.8"; @@ -21,6 +21,13 @@ stdenv.mkDerivation { 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" ]; + }) ]; buildInputs = [ ncurses pcre ]; |