zsh: fix zsh.info* install location
This commit is contained in:
parent
63347357ac
commit
c4ee8f5700
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user