zsh: fix zsh.info* install location

This commit is contained in:
Christoph Hrdinka 2016-03-09 14:13:31 +01:00
parent 63347357ac
commit c4ee8f5700

View File

@ -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