[Nix-dev] Directory containing haskell documentation?

Peter Simons simons at cryp.to
Sun Feb 26 20:13:30 CET 2012


Hi Corey,

 >> $out/share/doc/$name/html/index.html
 >
 > The $out you refer to is the individual packages output directory?

Yes.

 > If so then to locate the documentation for a packaged a user would
 > have to query nix-env ( or a wrapper ) to determine the documentation
 > path.

Well, typically, users work with a profile, say ~/.nix-profile, and all
packages in that profile will have their documentation linked into that
path.

 > Then open the doc path in a web browser. Perhaps a deriviation is
 > needed that adds a symlink to each haskell package's documentation to
 > a single directory.

How does that differ from what a user profile does?

Take care,
Peter



More information about the nix-dev mailing list