1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-07 14:21:48 +02:00

nix-expr: Expose nix_api_expr_internal.h intentionally

This is required for other bindings like nix-flake-c to hook into
nix-expr-c appropriately.
The `_internal` part should be a sufficient deterrent normally,
and it may also be useful for bindings that migrate from the C++
interface.
This commit is contained in:
Robert Hensing 2025-03-27 15:47:02 +00:00
parent 60b4b220d8
commit 02360dd65c

View file

@ -37,13 +37,11 @@ include_dirs = [include_directories('.')]
headers = files( headers = files(
'nix_api_expr.h', 'nix_api_expr.h',
'nix_api_expr_internal.h',
'nix_api_external.h', 'nix_api_external.h',
'nix_api_value.h', 'nix_api_value.h',
) )
# TODO move this header to libexpr, maybe don't use it in tests?
headers += files('nix_api_expr_internal.h')
subdir('nix-meson-build-support/export-all-symbols') subdir('nix-meson-build-support/export-all-symbols')
subdir('nix-meson-build-support/windows-version') subdir('nix-meson-build-support/windows-version')