lix/src/libmain
jade c97e17144e packaging: rename nixexpr -> lixexpr and so on
This breaks downstreams linking to us on purpose to make sure that if
someone is linking to Lix they're doing it on purpose and crucially not
mixing up Nix and Lix versions in compatibility code.

We still need to fix the internal includes to follow the same schema so
we can drop the single-level include system entirely. However, this
requires a little more effort.

This adds pkg-config for libfetchers and config.h.

Migration path:
expr.hh      -> lix/libexpr/expr.hh
nix/config.h -> lix/config.h

To apply this migration automatically, remove all `<nix/>` from
includes, so: `#include <nix/expr.hh>` -> `#include <expr.hh>`. Then,
the correct paths will be resolved from the tangled mess, and the
clang-tidy automated fix will work.

Then run the following for out of tree projects:

```
lix_root=$HOME/lix
(cd $lix_root/clang-tidy && nix develop -c 'meson setup build && ninja -C build')
run-clang-tidy -checks='-*,lix-fixincludes' -load=$lix_root/clang-tidy/build/liblix-clang-tidy.so -p build/ -fix src
```

Related: lix-project/nix-eval-jobs#5
Fixes: lix-project/lix#279
Change-Id: I7498e903afa6850a731ef8ce77a70da6b2b46966
2024-05-23 16:45:23 -06:00
..
common-args.cc Overhaul completions, redo #6693 (#8131) 2024-03-25 15:30:36 +00:00
common-args.hh nix: Support the --repair flag 2023-04-28 17:03:04 +02:00
lix-main.pc.in packaging: rename nixexpr -> lixexpr and so on 2024-05-23 16:45:23 -06:00
loggers.cc Fix progress bar flicker with -L 2022-08-24 22:36:40 +02:00
loggers.hh Ensure all headers have #pragma once and are in API docs 2023-03-31 23:19:44 -04:00
meson.build packaging: rename nixexpr -> lixexpr and so on 2024-05-23 16:45:23 -06:00
progress-bar.cc progress-bar.cc: fix signed overflow 2024-03-27 22:56:04 -07:00
progress-bar.hh Ensure all headers have #pragma once and are in API docs 2023-03-31 23:19:44 -04:00
shared.cc libutil: remove the interrupt-blocking code 2024-05-13 09:03:53 +02:00
shared.hh Overhaul completions, redo #6693 (#8131) 2024-03-25 15:30:36 +00:00
stack.cc libmain: Make the entire stack overflow handler pluggable 2022-10-14 12:53:46 +02:00