nixpkgs/nixos/doc/manual/release-notes
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
..
release-notes.xml 23.05 is Stoat 2022-11-21 21:22:27 +01:00
rl-1310.section.md
rl-1404.section.md
rl-1412.section.md
rl-1509.section.md doc,nixos/doc: unescape double quotes 2022-12-27 17:13:49 +01:00
rl-1603.section.md doc,nixos/doc: unescape double quotes 2022-12-27 17:13:49 +01:00
rl-1609.section.md doc,nixos/doc: unescape apostrophes 2022-12-27 17:13:47 +01:00
rl-1703.section.md doc,nixos/doc: unescape apostrophes 2022-12-27 17:13:47 +01:00
rl-1709.section.md doc,nixos/doc: unescape apostrophes 2022-12-27 17:13:47 +01:00
rl-1803.section.md doc,nixos/doc: unescape double quotes 2022-12-27 17:13:49 +01:00
rl-1809.section.md doc,nixos/doc: unescape apostrophes 2022-12-27 17:13:47 +01:00
rl-1903.section.md doc,nixos/doc: unescape double quotes 2022-12-27 17:13:49 +01:00
rl-1909.section.md doc,nixos/doc: unescape double quotes 2022-12-27 17:13:49 +01:00
rl-2003.section.md doc,nixos/doc: unescape apostrophes 2022-12-27 17:13:47 +01:00
rl-2009.section.md doc,nixos/doc: unescape double quotes 2022-12-27 17:13:49 +01:00
rl-2105.section.md doc,nixos/doc: unescape double quotes 2022-12-27 17:13:49 +01:00
rl-2111.section.md doc,nixos/doc: unescape apostrophes 2022-12-27 17:13:47 +01:00
rl-2205.section.md .editorconfig: apply trailing whitespace removal 2022-12-29 01:40:50 +01:00
rl-2211.section.md nixos: fix typos 2022-12-17 19:31:14 -05:00
rl-2305.section.md ghc.withPackages: install documentation to -with-packages output 2023-01-15 17:35:42 +01:00