Skip to content

Commit

Permalink
Merge pull request #13791 from hrdinka/fix/zsh-info
Browse files Browse the repository at this point in the history
zsh: fix zsh.info* install location
  • Loading branch information
jagajaga committed Mar 9, 2016
2 parents 31c2276 + c4ee8f5 commit 9a986cc
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions pkgs/shells/zsh/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, ncurses, coreutils, pcre }:
{ stdenv, fetchurl, ncurses, pcre }:

let

Expand All @@ -19,7 +19,7 @@ stdenv.mkDerivation {
sha256 = "0dsr450v8nydvpk8ry276fvbznlrjgddgp7zvhcw4cv69i9lr4ps";
};

buildInputs = [ ncurses coreutils pcre ];
buildInputs = [ ncurses pcre ];

configureFlags = [
"--enable-maildir-support"
Expand All @@ -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
Expand Down

0 comments on commit 9a986cc

Please sign in to comment.