diff --git a/pkgs/shells/zsh/zsh-powerlevel10k/default.nix b/pkgs/shells/zsh/zsh-powerlevel10k/default.nix index 169173a42e87d..7b6684092bae8 100644 --- a/pkgs/shells/zsh/zsh-powerlevel10k/default.nix +++ b/pkgs/shells/zsh/zsh-powerlevel10k/default.nix @@ -5,13 +5,13 @@ stdenv.mkDerivation rec { pname = "powerlevel10k"; - version = "1.7.0"; + version = "1.11.0"; src = fetchFromGitHub { owner = "romkatv"; repo = "powerlevel10k"; rev = "v${version}"; - sha256 = "04j37qmgzj62gixysj3di9dccfib4hx1c4ld9kcms3ag7k403bgj"; + sha256 = "1z6abvp642n40biya88n86ff1wiry00dlwawqwxp7q5ds55jhbv1"; }; patches = [ @@ -25,8 +25,7 @@ stdenv.mkDerivation rec { install -D powerlevel10k.zsh-theme --target-directory=$out/share/zsh-powerlevel10k install -D config/* --target-directory=$out/share/zsh-powerlevel10k/config install -D internal/* --target-directory=$out/share/zsh-powerlevel10k/internal - rm -r gitstatus/bin - install -D gitstatus/* --target-directory=$out/share/zsh-powerlevel10k/gitstatus + cp -R gitstatus $out/share/zsh-powerlevel10k/gitstatus ''; meta = { diff --git a/pkgs/shells/zsh/zsh-powerlevel10k/gitstatusd.patch b/pkgs/shells/zsh/zsh-powerlevel10k/gitstatusd.patch index a4440079e4bb7..3d1c1eaa36d4d 100644 --- a/pkgs/shells/zsh/zsh-powerlevel10k/gitstatusd.patch +++ b/pkgs/shells/zsh/zsh-powerlevel10k/gitstatusd.patch @@ -1,8 +1,8 @@ diff --git a/gitstatus/gitstatus.plugin.zsh b/gitstatus/gitstatus.plugin.zsh -index 46d0b3c..b082e24 100644 +index b469072..eb1e3be 100644 --- a/gitstatus/gitstatus.plugin.zsh +++ b/gitstatus/gitstatus.plugin.zsh -@@ -53,6 +53,8 @@ +@@ -44,6 +44,8 @@ [[ -o 'interactive' ]] || 'return' @@ -11,4 +11,3 @@ index 46d0b3c..b082e24 100644 # Temporarily change options. 'builtin' 'local' '-a' '_gitstatus_opts' [[ ! -o 'aliases' ]] || _gitstatus_opts+=('aliases') -