Fix info command
The "info" command has been broken on NixOS since
457fdb3842
(proving that nobody uses
info).
This commit is contained in:
parent
a1b27f9806
commit
973c9abdbe
@ -2,6 +2,8 @@
|
||||
|
||||
let
|
||||
|
||||
texinfo = pkgs.texinfoInteractive;
|
||||
|
||||
# Quick hack to make the `info' command work properly. `info' needs
|
||||
# a "dir" file containing all the installed Info files, which we
|
||||
# don't have (it would be impure to have a package installation
|
||||
@ -22,15 +24,15 @@ let
|
||||
|
||||
for i in $(IFS=:; echo $INFOPATH); do
|
||||
for j in $i/*.info; do
|
||||
${pkgs.texinfo}/bin/install-info --quiet $j $dir/dir
|
||||
${texinfo}/bin/install-info --quiet $j $dir/dir
|
||||
done
|
||||
done
|
||||
|
||||
INFOPATH=$dir:$INFOPATH ${pkgs.texinfo}/bin/info "$@"
|
||||
INFOPATH=$dir:$INFOPATH ${texinfo}/bin/info "$@"
|
||||
''; # */
|
||||
|
||||
in
|
||||
|
||||
{
|
||||
environment.systemPackages = [ infoWrapper pkgs.texinfo ];
|
||||
environment.systemPackages = [ infoWrapper texinfo ];
|
||||
}
|
||||
|
@ -22,6 +22,7 @@ stdenv.mkDerivation rec {
|
||||
homepage = "http://www.gnu.org/software/texinfo/";
|
||||
description = "GNU Texinfo, the GNU documentation system";
|
||||
license = stdenv.lib.licenses.gpl3Plus;
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
|
||||
longDescription = ''
|
||||
Texinfo is the official documentation format of the GNU project.
|
||||
|
@ -295,7 +295,6 @@ let
|
||||
texLive = linux;
|
||||
texLiveBeamer = linux;
|
||||
texLiveExtra = linux;
|
||||
texinfo = all;
|
||||
tightvnc = linux;
|
||||
time = linux;
|
||||
tinycc = linux;
|
||||
|
Loading…
Reference in New Issue
Block a user