lix/doc/manual/src
John Ericson f7f37035c8 Move tests to separate directories, and document
Today, with the tests inside a `tests` intermingled with the
corresponding library's source code, we have a few problems:

- We have to be careful that wildcards don't end up with tests being
  built as part of Nix proper, or test headers being installed as part
  of Nix proper.

- Tests in libraries but not executables is not right:

  - It means each executable runs the previous unit tests again, because
    it needs the libraries.

  - It doesn't work right on Windows, which doesn't want you to load a
    DLL just for the side global variable . It could be made to work
    with the dlopen equivalent, but that's gross!

This reorg solves these problems.

There is a remaining problem which is that sibbling headers (like
`hash.hh` the test header vs `hash.hh` the main `libnixutil` header) end
up shadowing each other. This PR doesn't solve that. That is left as
future work for a future PR.

Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>

(cherry picked from commit 91b6833686a6a6d9eac7f3f66393ec89ef1d3b57)
(cherry picked from commit a61e42adb528b3d40ce43e07c79368d779a8b624)
2023-12-01 13:05:03 -05:00
..
advanced-topics Add introductory sentence to advanced topics (#8861) 2023-08-23 15:18:25 +00:00
architecture Add description for file system objects (#8500) 2023-06-18 23:45:08 -04:00
command-ref docs: fixed the default priority of nix-env --install (#8945) 2023-09-09 06:54:39 +00:00
contributing Move tests to separate directories, and document 2023-12-01 13:05:03 -05:00
figures
installation nix actually needs c++20 now 2023-06-10 13:56:05 +02:00
language add anchor to builder 2023-08-31 21:26:15 +02:00
package-management remove the Channels section 2023-07-19 09:39:04 +02:00
protocols Allow dynamic derivation deps in inputDrvs 2023-09-07 10:39:37 -04:00
release-notes Release notes 2023-09-20 11:42:49 +02:00
glossary.md disambiguate output from output path 2023-09-06 09:09:02 +02:00
introduction.md Convert short nix options to long ones 2023-05-17 08:10:30 +01:00
quick-start.md Update doc/manual/src/quick-start.md 2023-02-19 20:00:02 -05:00
SUMMARY.md.in Mark official release 2023-09-20 12:49:01 +02:00