git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #13791 from hrdinka/fix/zsh-info

zsh: fix zsh.info* install location

commit9a986cce1f2d8c3132ef51c1293ea0c06e18d4e7 authorArseniy Seroka <jagajaga@users.noreply.github.com> dateWed 9 Mar 2016, 19:43 (11 years ago) parent31c2276c4ee8f5
1 file changed+5−3
pkgs/shells/zsh/default.nix+5−3
pkgs/shells/zsh/default.nix+5−3
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, ncurses, coreutils, pcre }:
1+{ stdenv, fetchurl, ncurses, pcre }:
22
33let
44
@@ -19,7 +19,7 @@ stdenv.mkDerivation {
1919 sha256 = "0dsr450v8nydvpk8ry276fvbznlrjgddgp7zvhcw4cv69i9lr4ps";
2020 };
2121
22− buildInputs = [ ncurses coreutils pcre ];
22+ buildInputs = [ ncurses pcre ];
2323
2424 configureFlags = [
2525 "--enable-maildir-support"
@@ -37,8 +37,10 @@ stdenv.mkDerivation {
3737
3838 # XXX: think/discuss about this, also with respect to nixos vs nix-on-X
3939 postInstall = ''
40− mkdir -p $out/share/
40+ mkdir -p $out/share/info
4141 tar xf ${documentation} -C $out/share
42+ ln -s $out/share/zsh-*/Doc/zsh.info* $out/share/info/
43+
4244 mkdir -p $out/etc/
4345 cat > $out/etc/zprofile <<EOF
4446if test -e /etc/NIXOS; then