nixpkgs/nixos/doc/manual
sternenseemann 727491cd95 ghc.withPackages: install documentation to -with-packages output
* Will make it so that GHC.Paths's docdir NIX_GHC_DOCDIR points to an
  actual directory.

* Documentation of all packages in the environment is available in
  `$out/share/doc`.

This has previously been attempted in #76842 and reverted in #77442,
since documentation can collide when the libraries wouldn't (thanks to
the hash in the lib filename). `symlinkJoin` allows collision, so this
solution should be akin to #77523 (minus `buildEnv`, one step at a
time). `installDocumentation = false` restores the old behavior.

Collision in the documentation only happen if the dependency closure of
the given packages has more than one different derivation for the same
library of the very same version. I'm personally inclined not to claim
that our infrastructure does anything sensible in this case.
Additionally, the documentation is likely largely the same in such
cases (unless it is heavily patched).

Resolves #150666.
Resolves #76837.
Closes #150968.
Closes #77523.
2023-01-15 17:35:42 +01:00
..
administration doc,nixos/doc: unescape apostrophes 2022-12-27 17:13:47 +01:00
configuration rename config.qt5 -> config.qt 2023-01-10 20:50:15 +08:00
development modules: add mkPackageOptionMD 2023-01-05 02:33:13 +01:00
from_md ghc.withPackages: install documentation to -with-packages output 2023-01-15 17:35:42 +01:00
installation doc/installation: fix incorrect channel link 2023-01-03 15:24:36 -05:00
release-notes ghc.withPackages: install documentation to -with-packages output 2023-01-15 17:35:42 +01:00
.gitignore
contributing-to-this-manual.chapter.md nixos/manpages: Explain -I option and how to build manpages 2022-12-11 11:00:06 +01:00
default.nix doc: Remove all section numbers 2022-12-12 13:04:39 +01:00
Makefile
man-configuration.xml
man-nixos-build-vms.xml
man-nixos-enter.xml
man-nixos-generate-config.xml
man-nixos-install.xml nixos-install: support --no-root-password 2021-11-22 22:09:50 +02:00
man-nixos-option.xml
man-nixos-rebuild.xml nixos/manpages: Explain -I option and how to build manpages 2022-12-11 11:00:06 +01:00
man-nixos-version.xml nixos-version: output configurationRevision 2023-01-03 20:40:35 +01:00
man-pages.xml nixos/manual: Update copyright years, authors, and copyright 2022-03-20 12:27:12 +01:00
manual.xml
md-to-db.sh doc: separate manpage URLs from the Pandoc filter 2023-01-02 14:11:22 +01:00
preface.xml Revert "Update preface.xml (#185868)" 2022-08-10 20:26:01 +10:00
README.md
shell.nix