lix/src/libfetchers
Jade Lovelace 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
..
attrs.cc Fix conversion from JSON to fetch attributes 2021-01-05 02:06:25 +00:00
attrs.hh Allow tarball URLs to redirect to a lockable immutable URL 2023-06-13 14:17:45 +02:00
cache.cc libfetchers: Rename immutable -> locked 2022-02-24 18:09:00 +01:00
cache.hh Input: Replace markFileChanged() by putFile() 2024-03-25 15:30:36 +00:00
fetch-settings.cc Move some stuff from Settings to a new FetchSettings. 2022-03-01 01:39:25 +00:00
fetch-settings.hh Deprecate the online flake registries and vendor the default registry 2024-05-18 12:27:23 +10:00
fetch-to-store.cc Merge pull request #9634 from 9999years/combine-abstract-pos-and-pos 2024-03-05 23:46:18 -07:00
fetch-to-store.hh pragma once and ///@file everything missing it 2024-04-08 15:40:12 -07:00
fetchers.cc Input: Replace markFileChanged() by putFile() 2024-03-25 15:30:36 +00:00
fetchers.hh Merge pull request #8817 from iFreilicht/flake-update-lock-overhaul 2024-03-25 17:36:24 -06:00
git.cc Input: Replace markFileChanged() by putFile() 2024-03-25 15:30:36 +00:00
github.cc remove extraneous cache entry from github fetcher 2024-04-21 10:46:05 +00:00
indirect.cc Input: Replace markFileChanged() by putFile() 2024-03-25 15:30:36 +00:00
lix-fetchers.pc.in packaging: rename nixexpr -> lixexpr and so on 2024-05-23 16:45:23 -06:00
mercurial.cc Input: Replace markFileChanged() by putFile() 2024-03-25 15:30:36 +00:00
meson.build packaging: rename nixexpr -> lixexpr and so on 2024-05-23 16:45:23 -06:00
path.cc Input: Replace markFileChanged() by putFile() 2024-03-25 15:30:36 +00:00
registry.cc Deprecate the online flake registries and vendor the default registry 2024-05-18 12:27:23 +10:00
registry.hh Ensure all headers have #pragma once and are in API docs 2023-03-31 23:19:44 -04:00
tarball.cc add and fix -Wignored-qualifiers 2024-05-09 07:08:44 -06:00