From c4ee8f5700edf01a7b15457b852aec3a1ad51806 Mon Sep 17 00:00:00 2001 From: Christoph Hrdinka Date: Wed, 9 Mar 2016 14:13:31 +0100 Subject: zsh: fix zsh.info* install location --- pkgs/shells/zsh/default.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'pkgs/shells/zsh') diff --git a/pkgs/shells/zsh/default.nix b/pkgs/shells/zsh/default.nix index 5ce686cb8fcf..d65b7dc80a8b 100644 --- a/pkgs/shells/zsh/default.nix +++ b/pkgs/shells/zsh/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, ncurses, coreutils, pcre }: +{ stdenv, fetchurl, ncurses, pcre }: let @@ -19,7 +19,7 @@ stdenv.mkDerivation { sha256 = "0dsr450v8nydvpk8ry276fvbznlrjgddgp7zvhcw4cv69i9lr4ps"; }; - buildInputs = [ ncurses coreutils pcre ]; + buildInputs = [ ncurses pcre ]; configureFlags = [ "--enable-maildir-support" @@ -37,8 +37,10 @@ stdenv.mkDerivation { # XXX: think/discuss about this, also with respect to nixos vs nix-on-X postInstall = '' - mkdir -p $out/share/ + mkdir -p $out/share/info tar xf ${documentation} -C $out/share + ln -s $out/share/zsh-*/Doc/zsh.info* $out/share/info/ + mkdir -p $out/etc/ cat > $out/etc/zprofile <