diff options
author | Christoph Hrdinka <c.github@hrdinka.at> | 2016-03-09 14:13:31 +0100 |
---|---|---|
committer | Christoph Hrdinka <c.github@hrdinka.at> | 2016-03-09 14:13:31 +0100 |
commit | c4ee8f5700edf01a7b15457b852aec3a1ad51806 (patch) | |
tree | d16c6d2cf6572ac002ca4c99b548af96b83ded85 /pkgs/shells | |
parent | 63347357ac2ac7fb39e26182aa5d74c981b6f86d (diff) | |
download | nixlib-c4ee8f5700edf01a7b15457b852aec3a1ad51806.tar nixlib-c4ee8f5700edf01a7b15457b852aec3a1ad51806.tar.gz nixlib-c4ee8f5700edf01a7b15457b852aec3a1ad51806.tar.bz2 nixlib-c4ee8f5700edf01a7b15457b852aec3a1ad51806.tar.lz nixlib-c4ee8f5700edf01a7b15457b852aec3a1ad51806.tar.xz nixlib-c4ee8f5700edf01a7b15457b852aec3a1ad51806.tar.zst nixlib-c4ee8f5700edf01a7b15457b852aec3a1ad51806.zip |
zsh: fix zsh.info* install location
Diffstat (limited to 'pkgs/shells')
-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 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 <<EOF if test -e /etc/NIXOS; then |