diff options
author | Arseniy Seroka <jagajaga@users.noreply.github.com> | 2016-03-09 19:43:57 +0300 |
---|---|---|
committer | Arseniy Seroka <jagajaga@users.noreply.github.com> | 2016-03-09 19:43:57 +0300 |
commit | 9a986cce1f2d8c3132ef51c1293ea0c06e18d4e7 (patch) | |
tree | cd29c381807e60bcc9fc448dfd69effd604d6d4e /pkgs | |
parent | 31c22761d8755731c9d16bc3a26a95b5ab5d3035 (diff) | |
parent | c4ee8f5700edf01a7b15457b852aec3a1ad51806 (diff) |
Merge pull request #13791 from hrdinka/fix/zsh-info
zsh: fix zsh.info* install location
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/shells/zsh/default.nix | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/pkgs/shells/zsh/default.nix b/pkgs/shells/zsh/default.nix index 5ce686cb8fcfa..d65b7dc80a8b6 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 <<EOF if test -e /etc/NIXOS; then |