[Nix-dev] Providing Info `dir' files

Ludovic Courtès ludo at gnu.org
Mon Jan 19 15:51:39 CET 2009


Hi!

Eelco Dolstra <e.dolstra at tudelft.nl> writes:

> Author: eelco
> Date: 2009-01-19 12:34:14 +0000 (Mon, 19 Jan 2009)
> New Revision: 13805
>
> You can view the changes in this commit at:
>    https://svn.nixos.org/viewvc/nix?rev=13805&view=rev
>
> Added:
>    nixos/trunk/helpers/info-wrapper.nix
> Modified:
>    nixos/trunk/system/system.nix
>
> Log:
> * Quick hack to make the `info' command work properly by generating
>   a "dir" file on the fly in a wrapper script.

Nice hack!  However, it won't work when browsing Info files from Emacs,
pinfo, etc.

What would you think of using a "user environment build hook" to create
`dir', as was discussed in
http://thread.gmane.org/gmane.linux.distributions.nixos/981?

Thanks,
Ludo'.



More information about the nix-dev mailing list