about summary refs log tree commit diff
path: root/pkgs/shells
diff options
context:
space:
mode:
authorOrivej Desh <orivej@gmx.fr>2017-11-21 02:18:05 +0000
committerOrivej Desh <orivej@gmx.fr>2017-11-21 02:18:05 +0000
commit1c1455fbc5f20cb08f65e1a17e3ca039222dbf71 (patch)
tree6ca37cce3d0a8c2625dc11168c9802c2aec5c87e /pkgs/shells
parent3f7751ecd4ad031872b0b636415c61d462383c1a (diff)
zsh-prezto: rehash with fetchpatch
Diffstat (limited to 'pkgs/shells')
-rw-r--r--pkgs/shells/zsh-prezto/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/shells/zsh-prezto/default.nix b/pkgs/shells/zsh-prezto/default.nix
index c5f404bbd3fd..c96de397294e 100644
--- a/pkgs/shells/zsh-prezto/default.nix
+++ b/pkgs/shells/zsh-prezto/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, fetchgit, fetchFromGitHub }:
+{ stdenv, fetchpatch, fetchgit, fetchFromGitHub }:
 
 let
   # https://github.com/spwhitt/nix-zsh-completions/pull/2
@@ -18,9 +18,9 @@ in stdenv.mkDerivation rec {
     fetchSubmodules = true;
   };
   patches = [
-    (fetchurl {
+    (fetchpatch {
       url = "https://github.com/sorin-ionescu/prezto/pull/1028.patch";
-      sha256 = "0n2s7kfp9ljrq8lw5iibv0vyv66awrkzkqbyvy7hlcl06d8aykjv";
+      sha256 = "0yrj72s1hiaq13374xa82hxdig4s0kvqjn9apkmw0h7kzggxjfn3";
     })
   ];
   buildPhase = ''