lix/doc/manual/rl-next
jade b62cc7b361 meson: prepare for include rearrangement
Context: we have include paths that are "types.hh" and similarly common
names. We currently have these compatibly available as
"lix/libutil/types.hh" externally but *not yet internally*. This is
because we don't have any way for the src directory to appear as
`"lix/"` from inside of Lix: the lix/ include directory is created by
the install process.

The goal of this whole thing is to make it clearer which component of
Lix that files are a part of, which should hopefully help at least a
little bit to new developers. One disadvantage of un-mixing these is
that it will cause some API changes if we ever move a file between
libraries, but that is not very common, and we don't care that much
about external API users.

This was planned for a while and is why we have a FixIncludes check to
begin with.

Personally I don't see a great benefit in rearranging our source code,
and in fact, it would probably be counterproductive:
- Moving the includes into a separate `include/` directory would just
  make developers have to deal with more directories, when we can
  already generate the desired layout through the build process.
- This would also decouple the .cc and .hh files which currently
  conventionally have each others' definitions and declarations
  respectively, right next to each other, making it easier for them to
  feel decoupled and diverge.

Content: Add ../include as an include directory so that lix/ in include
paths will resolve to src/ within Lix itself, just as it does externally
today. This prepares for a further series of commits applying the actual
change to each library one-by-one by accepting both include versions at
once.

This could have been done with ../ and a symlink called lix, but we
would like to not accept libexpr/foo.hh internally for it would be
broken externally, so we need an otherwise empty directory for the
include.

Change-Id: Ideac17faadae2bcea2dffbab34eb27c582ede399
2024-11-18 12:22:39 -08:00
..
.gitkeep release: release notes for 2.90.0 2024-06-15 18:46:18 -07:00
allowsubstitutes-errors.md fix: good errors for failures caused by allowSubstitutes 2024-08-23 17:49:15 -07:00
alt-left-and-alt-right-in-repl.md repl: Patch editline to recognize Meta-Left & Meta-Right 2024-09-09 15:34:50 -07:00
content-encodings.md libstore: use curl content-encoding support, not our own 2024-10-28 18:52:49 +00:00
ctrl-c-improved.md Add release note for CTRL-C improvements 2024-10-05 10:40:51 -07:00
deprecated-features.md libexpr: Soft-deprecate ancient let syntax 2024-08-21 12:59:03 +02:00
download-protocols.md libstore: restrict curl protocols 2024-10-23 11:32:14 +00:00
fetchGit-regression.md libfetchers/git: restore compat with builtins.fetchGit from 2.3 2024-09-28 14:52:06 +02:00
http-proxy-for-s3.md fix: use http proxy for s3 access 2024-08-23 13:23:33 -07:00
include-rearrangement.md meson: prepare for include rearrangement 2024-11-18 12:22:39 -08:00
interactive-nix.conf-overrides.md libexpr/flake: (opinionated) changes to interactive flake config 2024-11-07 21:47:26 +01:00
libstore-random.md libstore: replace random() calls with atomic counter 2024-10-30 19:54:43 -07:00
nix-build-out-link.md feat: Add temp-dir setting 2024-11-06 18:11:47 -08:00
nix-fmt-default-argument.md fix(nix fmt): remove the default "." argument 2024-09-26 14:32:29 -07:00
pytest-suite.md testsuite: use xdist for parallel test running 2024-10-09 14:47:39 -07:00
readline-support-removed.md Remove readline support 2024-09-16 10:48:20 -07:00
relative-and-tilde-paths-in-config.md Support relative and ~/ paths in config settings 2024-08-25 15:54:22 -07:00
remove-mono-coreutils-dependency.md chore: remove monolithic coreutils requirement 2024-10-30 15:12:35 +04:00
report-differing-outputs.md libstore: report all differing outputs rather than just the first 2024-10-29 18:34:54 +01:00
ssl-cert-symlink.md libstore: ignore broken symlinks in ssl-cert-file default 2024-10-30 19:50:38 -07:00
stack-traces.md main: log stack traces for std::terminate 2024-09-25 14:03:45 -07:00
temp-dir.md feat: Add temp-dir setting 2024-11-06 18:11:47 -08:00
verify-tls.md [security] builtin:fetchurl: Enable TLS verification 2024-09-25 18:40:58 -07:00
x-github-api-header.md fix(libfetchers): set GitHub API version header, closes #255 2024-10-30 18:40:13 +01:00