summary refs log tree commit diff
path: root/pkgs/shells
diff options
context:
space:
mode:
authorMartin Weinelt <hexa@darmstadt.ccc.de>2020-06-01 01:42:14 +0200
committerMartin Weinelt <hexa@darmstadt.ccc.de>2020-06-01 02:34:14 +0200
commit5cb2c698599932a655e2a3ea216b62f7e825a3fc (patch)
treeb80fa8d2cbd3a588e10ff695ee0a0c8fa05892eb /pkgs/shells
parent43e6a42da833e1a962f5063ecead474707edb0e9 (diff)
downloadnixpkgs-5cb2c698599932a655e2a3ea216b62f7e825a3fc.tar
nixpkgs-5cb2c698599932a655e2a3ea216b62f7e825a3fc.tar.gz
nixpkgs-5cb2c698599932a655e2a3ea216b62f7e825a3fc.tar.bz2
nixpkgs-5cb2c698599932a655e2a3ea216b62f7e825a3fc.tar.lz
nixpkgs-5cb2c698599932a655e2a3ea216b62f7e825a3fc.tar.xz
nixpkgs-5cb2c698599932a655e2a3ea216b62f7e825a3fc.tar.zst
nixpkgs-5cb2c698599932a655e2a3ea216b62f7e825a3fc.zip
zsh-powerlevel10k: 1.7.0 -> 1.11.0
Diffstat (limited to 'pkgs/shells')
-rw-r--r--pkgs/shells/zsh/zsh-powerlevel10k/default.nix7
-rw-r--r--pkgs/shells/zsh/zsh-powerlevel10k/gitstatusd.patch5
2 files changed, 5 insertions, 7 deletions
diff --git a/pkgs/shells/zsh/zsh-powerlevel10k/default.nix b/pkgs/shells/zsh/zsh-powerlevel10k/default.nix
index 169173a42e8..7b6684092ba 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 a4440079e4b..3d1c1eaa36d 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')
-