1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-28 09:31:16 +02:00
nix/src/libexpr-tests
John Ericson f3e1c47f47 Separate headers from source files
The short answer for why we need to do this is so we can consistently do
`#include "nix/..."`. Without this change, there are ways to still make
that work, but they are hacky, and they have downsides such as making it
harder to make sure headers from the wrong Nix library (e..g.
`libnixexpr` headers in `libnixutil`) aren't being used.

The C API alraedy used `nix_api_*`, so its headers are *not* put in
subdirectories accordingly.

Progress on #7876

We resisted doing this for a while because it would be annoying to not
have the header source file pairs close by / easy to change file
path/name from one to the other. But I am ameliorating that with
symlinks in the next commit.
2025-03-31 12:20:25 -04:00
..
data Move unit tests to the location Meson expects them to be 2024-10-17 15:42:16 -04:00
value Separate headers from source files 2025-03-31 12:20:25 -04:00
.version Move unit tests to the location Meson expects them to be 2024-10-17 15:42:16 -04:00
derived-path.cc Separate headers from source files 2025-03-31 12:20:25 -04:00
error_traces.cc Separate headers from source files 2025-03-31 12:20:25 -04:00
eval.cc Separate headers from source files 2025-03-31 12:20:25 -04:00
json.cc Separate headers from source files 2025-03-31 12:20:25 -04:00
main.cc Separate headers from source files 2025-03-31 12:20:25 -04:00
meson.build Separate headers from source files 2025-03-31 12:20:25 -04:00
nix-meson-build-support rename: build-utils-meson -> nix-meson-build-support 2024-12-09 16:54:42 +01:00
nix_api_expr.cc Separate headers from source files 2025-03-31 12:20:25 -04:00
nix_api_external.cc Separate headers from source files 2025-03-31 12:20:25 -04:00
nix_api_value.cc Separate headers from source files 2025-03-31 12:20:25 -04:00
package.nix Write just ./.version on all components 2025-02-18 11:41:35 +01:00
primops.cc Separate headers from source files 2025-03-31 12:20:25 -04:00
search-path.cc Separate headers from source files 2025-03-31 12:20:25 -04:00
trivial.cc Separate headers from source files 2025-03-31 12:20:25 -04:00