git.iko.soy/typeable/nixpkgs
on master help sign in
zsh: fix `git stash drop` completions
commit41c7806df50a88b723667969c3d3078bf298226f authorMichael Hoang <enzime@users.noreply.github.com> dateThu 28 Oct 2021, 10:08 (5 years ago) parent8f6f42b
1 file changed+8−1
pkgs/shells/zsh/default.nix+8−1
pkgs/shells/zsh/default.nix+8−1
@@ -1,4 +1,4 @@
1−{ lib, stdenv, fetchurl, ncurses, pcre, buildPackages }:
1+{ lib, stdenv, fetchurl, fetchpatch, ncurses, pcre, buildPackages }:
22
33let
44 version = "5.8";
@@ -21,6 +21,13 @@ stdenv.mkDerivation {
2121 patches = [
2222 # fix location of timezone data for TZ= completion
2323 ./tz_completion.patch
24+ # This commit will be released with the next version of zsh
25+ (fetchpatch {
26+ name = "fix-git-stash-drop-completions.patch";
27+ url = "https://github.com/zsh-users/zsh/commit/754658aff38e1bdf487c58bec6174cbecd019d11.patch";
28+ sha256 = "sha256-ud/rLD+SqvyTzT6vwOr+MWH+LY5o5KACrU1TpmL15Lo=";
29+ excludes = [ "ChangeLog" ];
30+ })
2431 ];
2532
2633 buildInputs = [ ncurses pcre ];