1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-11 13:06:01 +01:00
nix/src/libexpr
John Ericson 15658b259f 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.

(cherry picked from commit f3e1c47f47)
2025-03-31 18:04:04 -04:00
..
include/nix Separate headers from source files 2025-03-31 18:04:04 -04:00
primops Separate headers from source files 2025-03-31 18:04:04 -04:00
value Separate headers from source files 2025-03-31 18:04:04 -04:00
.version Meson build for libexpr and libflake 2024-07-02 09:23:24 -04:00
attr-path.cc Separate headers from source files 2025-03-31 18:04:04 -04:00
attr-set.cc Separate headers from source files 2025-03-31 18:04:04 -04:00
eval-cache.cc Separate headers from source files 2025-03-31 18:04:04 -04:00
eval-error.cc Separate headers from source files 2025-03-31 18:04:04 -04:00
eval-gc.cc Separate headers from source files 2025-03-31 18:04:04 -04:00
eval-settings.cc Separate headers from source files 2025-03-31 18:04:04 -04:00
eval.cc Separate headers from source files 2025-03-31 18:04:04 -04:00
fetchurl.nix Format .nix files 2025-01-24 17:04:02 +01:00
function-trace.cc Separate headers from source files 2025-03-31 18:04:04 -04:00
get-drvs.cc Separate headers from source files 2025-03-31 18:04:04 -04:00
imported-drv-to-derivation.nix Format .nix files 2025-01-24 17:04:02 +01:00
json-to-value.cc Separate headers from source files 2025-03-31 18:04:04 -04:00
lexer-helpers.cc Separate headers from source files 2025-03-31 18:04:04 -04:00
lexer.l Separate headers from source files 2025-03-31 18:04:04 -04:00
meson.build Separate headers from source files 2025-03-31 18:04:04 -04:00
meson.options Meson build for libexpr and libflake 2024-07-02 09:23:24 -04:00
nix-meson-build-support rename: build-utils-meson -> nix-meson-build-support 2024-12-09 16:54:42 +01:00
nixexpr.cc Separate headers from source files 2025-03-31 18:04:04 -04:00
package.nix Separate headers from source files 2025-03-31 18:04:04 -04:00
parser.y Separate headers from source files 2025-03-31 18:04:04 -04:00
paths.cc Separate headers from source files 2025-03-31 18:04:04 -04:00
primops.cc Separate headers from source files 2025-03-31 18:04:04 -04:00
print-ambiguous.cc Separate headers from source files 2025-03-31 18:04:04 -04:00
print.cc Separate headers from source files 2025-03-31 18:04:04 -04:00
search-path.cc Separate headers from source files 2025-03-31 18:04:04 -04:00
value-to-json.cc Separate headers from source files 2025-03-31 18:04:04 -04:00
value-to-xml.cc Separate headers from source files 2025-03-31 18:04:04 -04:00